Newer
Older
# coding: utf-8
from __future__ import absolute_import
from flask import json
from six import BytesIO
from src.models.play_log_entry import PlayLogEntry # noqa: E501
from src.models.status_entry import StatusEntry # noqa: E501
from src.test import BaseTestCase
class TestInternalController(BaseTestCase):
"""InternalController integration test stubs"""
def test_get_active_engine(self):
"""Test case for get_active_engine
Get active engine
"""
response = self.client.open(
method='GET')
self.assert200(response,
'Response body is : ' + response.data.decode('utf-8'))
def test_get_report(self):
"""Test case for get_report
Report for one month
"""
response = self.client.open(
'/report/{year_month}'.format(year_month='year_month_example'),
method='GET')
self.assert200(response,
'Response body is : ' + response.data.decode('utf-8'))
if __name__ == '__main__':
import unittest
unittest.main()