119 lines
2.7 KiB
Python
119 lines
2.7 KiB
Python
# coding: utf-8
|
|
|
|
"""
|
|
Gitea API
|
|
|
|
This documentation describes the Gitea API. # noqa: E501
|
|
|
|
OpenAPI spec version: 1.23.1
|
|
|
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
"""
|
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
import unittest
|
|
|
|
import gitea
|
|
from gitea.api.miscellaneous_api import MiscellaneousApi # noqa: E501
|
|
from gitea.rest import ApiException
|
|
|
|
|
|
class TestMiscellaneousApi(unittest.TestCase):
|
|
"""MiscellaneousApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = gitea.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_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()
|