You've already forked gitea_python_api
Init
This commit is contained in:
125
test/test_miscellaneous_api.py
Normal file
125
test/test_miscellaneous_api.py
Normal file
@@ -0,0 +1,125 @@
|
||||
# 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.miscellaneous_api import MiscellaneousApi # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestMiscellaneousApi(unittest.TestCase):
|
||||
"""MiscellaneousApi unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
self.api = swagger_client.api.miscellaneous_api.MiscellaneousApi() # noqa: E501
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def test_get_gitignore_template_info(self):
|
||||
"""Test case for get_gitignore_template_info
|
||||
|
||||
Returns information about a gitignore template # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_label_template_info(self):
|
||||
"""Test case for get_label_template_info
|
||||
|
||||
Returns all labels in a template # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_license_template_info(self):
|
||||
"""Test case for get_license_template_info
|
||||
|
||||
Returns information about a license template # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_node_info(self):
|
||||
"""Test case for get_node_info
|
||||
|
||||
Returns the nodeinfo of the Gitea application # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_signing_key(self):
|
||||
"""Test case for get_signing_key
|
||||
|
||||
Get default signing-key.gpg # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_signing_key_ssh(self):
|
||||
"""Test case for get_signing_key_ssh
|
||||
|
||||
Get default signing-key.pub # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_version(self):
|
||||
"""Test case for get_version
|
||||
|
||||
Returns the version of the Gitea application # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_list_gitignores_templates(self):
|
||||
"""Test case for list_gitignores_templates
|
||||
|
||||
Returns a list of all gitignore templates # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_list_label_templates(self):
|
||||
"""Test case for list_label_templates
|
||||
|
||||
Returns a list of all label templates # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_list_license_templates(self):
|
||||
"""Test case for list_license_templates
|
||||
|
||||
Returns a list of all license templates # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_render_markdown(self):
|
||||
"""Test case for render_markdown
|
||||
|
||||
Render a markdown document as HTML # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_render_markdown_raw(self):
|
||||
"""Test case for render_markdown_raw
|
||||
|
||||
Render raw markdown as HTML # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_render_markup(self):
|
||||
"""Test case for render_markup
|
||||
|
||||
Render a markup document as HTML # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user