python.model_test.mustache Maven / Gradle / Ivy
# coding: utf-8
{{>partial_header}}
from __future__ import absolute_import
import unittest
{{#models}}
{{#model}}
import {{packageName}}
from {{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