# coding: utf-8

from __future__ import absolute_import

from swagger_server.models.error import Error
from . import BaseTestCase
from six import BytesIO
from flask import json


class TestDatasourcesController(BaseTestCase):
    """ DatasourcesController integration test stubs """

    def test_list_datasources_get(self):
        """
        Test case for list_datasources_get

        Get the list of all Datasources
        """
        query_string = [('page', 56)]
        response = self.client.open('/v1/listDatasources',
                                    method='GET',
                                    query_string=query_string)
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))


if __name__ == '__main__':
    import unittest
    unittest.main()
