All Downloads are FREE. Search and download functionalities are using the official Maven repository.

handlebars.python.model_test.mustache Maven / Gradle / Ivy

There is a newer version: 1.0.54
Show newest version
# coding: utf-8

{{>partial_header}}

from __future__ import absolute_import

import unittest

{{#models}}
{{#model}}
import {{packageName}}
from {{packageName}}.{{modelPackage}}.{{classFilename}} import {{classname}}  # noqa: E501
from {{packageName}}.rest import ApiException


class Test{{classname}}(unittest.TestCase):
    """{{classname}} unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test{{classname}}(self):
        """Test {{classname}}"""
        # FIXME: construct object with mandatory attributes with example values
        # model = {{packageName}}.models.{{classFilename}}.{{classname}}()  # noqa: E501
        pass

{{/model}}
{{/models}}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy