# coding: utf-8

from __future__ import absolute_import

from swagger_server.models.aula import Aula
from swagger_server.models.reserva import Reserva
from . import BaseTestCase
from six import BytesIO
from flask import json


class TestAulaController(BaseTestCase):
    """ AulaController integration test stubs """

    def test_borra_aula(self):
        """
        Test case for borra_aula

        Borra un aula
        """
        response = self.client.open('/espacios/delete-aula/{numero}'.format(numero=56),
                                    method='DELETE')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))

    def test_crea_aula(self):
        """
        Test case for crea_aula

        Crea un aula
        """
        aula = Aula()
        response = self.client.open('/espacios/post-aula/',
                                    method='POST',
                                    data=json.dumps(aula),
                                    content_type='application/json')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))

    def test_devuelve_aula(self):
        """
        Test case for devuelve_aula

        Devuelve un aula
        """
        response = self.client.open('/espacios/get-aula/{numero}'.format(numero=56),
                                    method='GET')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))

    def test_reserva_aula(self):
        """
        Test case for reserva_aula

        Reserva aula y genera factura
        """
        numero_aula = Reserva()
        response = self.client.open('/espacios/Aula',
                                    method='PUT',
                                    data=json.dumps(numero_aula),
                                    content_type='application/json')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))


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

c64896b691d6a2695b7fe82f792de74f58695a3e
<mask token>


class TestAulaController(BaseTestCase):
    <mask token>

    def test_borra_aula(self):
        """
        Test case for borra_aula

        Borra un aula
        """
        response = self.client.open('/espacios/delete-aula/{numero}'.format
            (numero=56), method='DELETE')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_crea_aula(self):
        """
        Test case for crea_aula

        Crea un aula
        """
        aula = Aula()
        response = self.client.open('/espacios/post-aula/', method='POST',
            data=json.dumps(aula), content_type='application/json')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))
    <mask token>
    <mask token>


<mask token>

<mask token>


class TestAulaController(BaseTestCase):
    <mask token>

    def test_borra_aula(self):
        """
        Test case for borra_aula

        Borra un aula
        """
        response = self.client.open('/espacios/delete-aula/{numero}'.format
            (numero=56), method='DELETE')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_crea_aula(self):
        """
        Test case for crea_aula

        Crea un aula
        """
        aula = Aula()
        response = self.client.open('/espacios/post-aula/', method='POST',
            data=json.dumps(aula), content_type='application/json')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_devuelve_aula(self):
        """
        Test case for devuelve_aula

        Devuelve un aula
        """
        response = self.client.open('/espacios/get-aula/{numero}'.format(
            numero=56), method='GET')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_reserva_aula(self):
        """
        Test case for reserva_aula

        Reserva aula y genera factura
        """
        numero_aula = Reserva()
        response = self.client.open('/espacios/Aula', method='PUT', data=
            json.dumps(numero_aula), content_type='application/json')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))


<mask token>

<mask token>


class TestAulaController(BaseTestCase):
    """ AulaController integration test stubs """

    def test_borra_aula(self):
        """
        Test case for borra_aula

        Borra un aula
        """
        response = self.client.open('/espacios/delete-aula/{numero}'.format
            (numero=56), method='DELETE')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_crea_aula(self):
        """
        Test case for crea_aula

        Crea un aula
        """
        aula = Aula()
        response = self.client.open('/espacios/post-aula/', method='POST',
            data=json.dumps(aula), content_type='application/json')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_devuelve_aula(self):
        """
        Test case for devuelve_aula

        Devuelve un aula
        """
        response = self.client.open('/espacios/get-aula/{numero}'.format(
            numero=56), method='GET')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_reserva_aula(self):
        """
        Test case for reserva_aula

        Reserva aula y genera factura
        """
        numero_aula = Reserva()
        response = self.client.open('/espacios/Aula', method='PUT', data=
            json.dumps(numero_aula), content_type='application/json')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))


<mask token>

<mask token>


class TestAulaController(BaseTestCase):
    """ AulaController integration test stubs """

    def test_borra_aula(self):
        """
        Test case for borra_aula

        Borra un aula
        """
        response = self.client.open('/espacios/delete-aula/{numero}'.format
            (numero=56), method='DELETE')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_crea_aula(self):
        """
        Test case for crea_aula

        Crea un aula
        """
        aula = Aula()
        response = self.client.open('/espacios/post-aula/', method='POST',
            data=json.dumps(aula), content_type='application/json')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_devuelve_aula(self):
        """
        Test case for devuelve_aula

        Devuelve un aula
        """
        response = self.client.open('/espacios/get-aula/{numero}'.format(
            numero=56), method='GET')
        self.assert200(response, 'Response body is : ' + response.data.
            decode('utf-8'))

    def test_reserva_aula(self):
        """
        Test case for reserva_aula

        Reserva aula y genera factura
        """
        numero_aula = Reserva()
        response = self.client.open('/espacios/Aula', method='PUT', data=
            json.dumps(numero_aula), 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.aula import Aula
from swagger_server.models.reserva import Reserva
from . import BaseTestCase
from six import BytesIO
from flask import json


class TestAulaController(BaseTestCase):
    """ AulaController integration test stubs """

    def test_borra_aula(self):
        """
        Test case for borra_aula

        Borra un aula
        """
        response = self.client.open('/espacios/delete-aula/{numero}'.format(numero=56),
                                    method='DELETE')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))

    def test_crea_aula(self):
        """
        Test case for crea_aula

        Crea un aula
        """
        aula = Aula()
        response = self.client.open('/espacios/post-aula/',
                                    method='POST',
                                    data=json.dumps(aula),
                                    content_type='application/json')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))

    def test_devuelve_aula(self):
        """
        Test case for devuelve_aula

        Devuelve un aula
        """
        response = self.client.open('/espacios/get-aula/{numero}'.format(numero=56),
                                    method='GET')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))

    def test_reserva_aula(self):
        """
        Test case for reserva_aula

        Reserva aula y genera factura
        """
        numero_aula = Reserva()
        response = self.client.open('/espacios/Aula',
                                    method='PUT',
                                    data=json.dumps(numero_aula),
                                    content_type='application/json')
        self.assert200(response, "Response body is : " + response.data.decode('utf-8'))


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