generated from Luis/nextjs-python-web-template
Added working python generator in tests
This commit is contained in:
52
pkgs/clan-cli/tests/openapi_client/test/test_default_api.py
Normal file
52
pkgs/clan-cli/tests/openapi_client/test/test_default_api.py
Normal file
@@ -0,0 +1,52 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
FastAPI
|
||||
|
||||
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||
|
||||
Do not edit the class manually.
|
||||
""" # noqa: E501
|
||||
|
||||
|
||||
import unittest
|
||||
|
||||
from openapi_client.api.default_api import DefaultApi # noqa: E501
|
||||
|
||||
|
||||
class TestDefaultApi(unittest.TestCase):
|
||||
"""DefaultApi unit test stubs"""
|
||||
|
||||
def setUp(self) -> None:
|
||||
self.api = DefaultApi() # noqa: E501
|
||||
|
||||
def tearDown(self) -> None:
|
||||
pass
|
||||
|
||||
def test_get(self) -> None:
|
||||
"""Test case for get
|
||||
|
||||
Get # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_health(self) -> None:
|
||||
"""Test case for health
|
||||
|
||||
Health # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_root(self) -> None:
|
||||
"""Test case for root
|
||||
|
||||
Root # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user