You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.2 KiB
56 lines
1.2 KiB
6 years ago
|
# coding: utf-8
|
||
|
|
||
|
"""
|
||
|
Gitea API.
|
||
|
|
||
|
This documentation describes the Gitea API. # noqa: E501
|
||
|
|
||
|
OpenAPI spec version: 1.1.1
|
||
|
|
||
|
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_version(self):
|
||
|
"""Test case for get_version
|
||
|
|
||
|
Returns the version of the Gitea application # 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
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
unittest.main()
|