You've already forked gitea_python_api
Init
This commit is contained in:
62
test/test_settings_api.py
Normal file
62
test/test_settings_api.py
Normal file
@@ -0,0 +1,62 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Gitea API
|
||||
|
||||
This documentation describes the Gitea API. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 1.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.api.settings_api import SettingsApi # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestSettingsApi(unittest.TestCase):
|
||||
"""SettingsApi unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
self.api = swagger_client.api.settings_api.SettingsApi() # noqa: E501
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def test_get_general_api_settings(self):
|
||||
"""Test case for get_general_api_settings
|
||||
|
||||
Get instance's global settings for api # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_general_attachment_settings(self):
|
||||
"""Test case for get_general_attachment_settings
|
||||
|
||||
Get instance's global settings for Attachment # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_general_repository_settings(self):
|
||||
"""Test case for get_general_repository_settings
|
||||
|
||||
Get instance's global settings for repositories # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_general_ui_settings(self):
|
||||
"""Test case for get_general_ui_settings
|
||||
|
||||
Get instance's global settings for ui # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user