# coding: utf-8

"""
    API pro taxonomii CITES

    Toto je API pro taxonomii CITES  # noqa: E501

    OpenAPI spec version: 1.0.1
    Contact: rjaeger@sysnet.cz
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

from __future__ import absolute_import

import unittest

import taxonomy
from taxonomy.models.additional_type import AdditionalType  # noqa: E501
from taxonomy.rest import ApiException


class TestAdditionalType(unittest.TestCase):
    """AdditionalType unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def testAdditionalType(self):
        """Test AdditionalType"""
        model = taxonomy.models.additional_type.AdditionalType(
            special_conditions='Nějaký <strong>HTML</strong> text pro AOPK',
            fertility=25
        )  # noqa: E501
        assert 'HTML' in model.special_conditions, '{}.special_conditions musí obsahovat \'HTML\''
        assert 25 == model.fertility, '{}.facility musí být 25'.format('AdditionalType')


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