# coding: utf-8

from __future__ import absolute_import

from swagger_server.models.body import Body
from swagger_server.models.problem import Problem
from . import BaseTestCase
from six import BytesIO
from flask import json


class TestPrimaryController(BaseTestCase):
    """ PrimaryController integration test stubs """

    def test_get_primary(self):
        """
        Test case for get_primary

        primary
        """
        response = self.client.open('/v1/primary/',
                                    method='GET')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))

    def test_post_primary(self):
        """
        Test case for post_primary

        Update the existing primary
        """
        problem = Body()
        response = self.client.open('/v1/primary/ver&#x3D;{version}/'.format(version=789),
                                    method='POST',
                                    data=json.dumps(problem),
                                    content_type='application/json')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))


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

abb4500dfa0c3b3fabb5204d5a7863805dafd72b
<mask token>


class TestPrimaryController(BaseTestCase):
    <mask token>

    def test_get_primary(self):
        """
        Test case for get_primary

        primary
        """
        response = self.client.open('/v1/primary/', method='GET')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_post_primary(self):
        """
        Test case for post_primary

        Update the existing primary
        """
        problem = Body()
        response = self.client.open('/v1/primary/ver&#x3D;{version}/'.
            format(version=789), method='POST', data=json.dumps(problem),
            content_type='application/json')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))


<mask token>

<mask token>


class TestPrimaryController(BaseTestCase):
    """ PrimaryController integration test stubs """

    def test_get_primary(self):
        """
        Test case for get_primary

        primary
        """
        response = self.client.open('/v1/primary/', method='GET')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_post_primary(self):
        """
        Test case for post_primary

        Update the existing primary
        """
        problem = Body()
        response = self.client.open('/v1/primary/ver&#x3D;{version}/'.
            format(version=789), method='POST', data=json.dumps(problem),
            content_type='application/json')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))


<mask token>

<mask token>


class TestPrimaryController(BaseTestCase):
    """ PrimaryController integration test stubs """

    def test_get_primary(self):
        """
        Test case for get_primary

        primary
        """
        response = self.client.open('/v1/primary/', method='GET')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_post_primary(self):
        """
        Test case for post_primary

        Update the existing primary
        """
        problem = Body()
        response = self.client.open('/v1/primary/ver&#x3D;{version}/'.
            format(version=789), method='POST', data=json.dumps(problem),
            content_type='application/json')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))


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

from __future__ import absolute_import
from swagger_server.models.body import Body
from swagger_server.models.problem import Problem
from . import BaseTestCase
from six import BytesIO
from flask import json


class TestPrimaryController(BaseTestCase):
    """ PrimaryController integration test stubs """

    def test_get_primary(self):
        """
        Test case for get_primary

        primary
        """
        response = self.client.open('/v1/primary/', method='GET')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_post_primary(self):
        """
        Test case for post_primary

        Update the existing primary
        """
        problem = Body()
        response = self.client.open('/v1/primary/ver&#x3D;{version}/'.
            format(version=789), method='POST', data=json.dumps(problem),
            content_type='application/json')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))


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

# coding: utf-8

from __future__ import absolute_import

from swagger_server.models.body import Body
from swagger_server.models.problem import Problem
from . import BaseTestCase
from six import BytesIO
from flask import json


class TestPrimaryController(BaseTestCase):
    """ PrimaryController integration test stubs """

    def test_get_primary(self):
        """
        Test case for get_primary

        primary
        """
        response = self.client.open('/v1/primary/',
                                    method='GET')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))

    def test_post_primary(self):
        """
        Test case for post_primary

        Update the existing primary
        """
        problem = Body()
        response = self.client.open('/v1/primary/ver&#x3D;{version}/'.format(version=789),
                                    method='POST',
                                    data=json.dumps(problem),
                                    content_type='application/json')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))


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