cic-internal-integration/apps/cic-eth/cic_eth/server/test/test_token_controller.py
2021-11-12 11:14:40 +03:00

30 lines
663 B
Python

# coding: utf-8
from __future__ import absolute_import
from flask import json
from six import BytesIO
from cic_eth.server.models.token import Token # noqa: E501
from cic_eth.server.test import BaseTestCase
class TestTokenController(BaseTestCase):
"""TokenController integration test stubs"""
def test_get_default_token(self):
"""Test case for get_default_token
"""
response = self.client.open(
'/token',
method='GET')
self.assert200(response,
'Response body is : ' + response.data.decode('utf-8'))
if __name__ == '__main__':
import unittest
unittest.main()