<filename>server/swagger_server/test/test_statements_controller.py
# coding: utf-8

from __future__ import absolute_import

from flask import json
from six import BytesIO

from swagger_server.models.beacon_annotation import BeaconAnnotation  # noqa: E501
from swagger_server.models.beacon_statement import BeaconStatement  # noqa: E501
from swagger_server.test import BaseTestCase


class TestStatementsController(BaseTestCase):
    """StatementsController integration test stubs"""

    def test_get_evidence(self):
        """Test case for get_evidence

        
        """
        query_string = [('keywords', 'keywords_example'),
                        ('pageNumber', 56),
                        ('pageSize', 56)]
        response = self.client.open(
            '//evidence/{statementId}'.format(statementId='statementId_example'),
            method='GET',
            query_string=query_string)
        self.assert200(response,
                       'Response body is : ' + response.data.decode('utf-8'))

    def test_get_statements(self):
        """Test case for get_statements

        
        """
        query_string = [('s', 's_example'),
                        ('relations', 'relations_example'),
                        ('t', 't_example'),
                        ('keywords', 'keywords_example'),
                        ('types', 'types_example'),
                        ('pageNumber', 56),
                        ('pageSize', 56)]
        response = self.client.open(
            '//statements',
            method='GET',
            query_string=query_string)
        self.assert200(response,
                       'Response body is : ' + response.data.decode('utf-8'))


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

<filename>server/swagger_server/test/test_statements_controller.py
# coding: utf-8

from __future__ import absolute_import

from flask import json
from six import BytesIO

from swagger_server.models.beacon_annotation import BeaconAnnotation  # noqa: E501
from swagger_server.models.beacon_statement import BeaconStatement  # noqa: E501
from swagger_server.test import BaseTestCase


class TestStatementsController(BaseTestCase):
    """StatementsController integration test stubs"""

    def test_get_evidence(self):
        """Test case for get_evidence

        
        """
        query_string = [('keywords', 'keywords_example'),
                        ('pageNumber', 56),
                        ('pageSize', 56)]
        response = self.client.open(
            '//evidence/{statementId}'.format(statementId='statementId_example'),
            method='GET',
            query_string=query_string)
        self.assert200(response,
                       'Response body is : ' + response.data.decode('utf-8'))

    def test_get_statements(self):
        """Test case for get_statements

        
        """
        query_string = [('s', 's_example'),
                        ('relations', 'relations_example'),
                        ('t', 't_example'),
                        ('keywords', 'keywords_example'),
                        ('types', 'types_example'),
                        ('pageNumber', 56),
                        ('pageSize', 56)]
        response = self.client.open(
            '//statements',
            method='GET',
            query_string=query_string)
        self.assert200(response,
                       'Response body is : ' + response.data.decode('utf-8'))


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

# coding: utf-8 # noqa: E501 # noqa: E501 StatementsController integration test stubs Test case for get_evidence Test case for get_statements