Initial commit
This commit is contained in:
1
test/__init__.py
Normal file
1
test/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# coding: utf-8
|
||||
40
test/test_access_token.py
Normal file
40
test/test_access_token.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.access_token import AccessToken # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestAccessToken(unittest.TestCase):
|
||||
"""AccessToken unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testAccessToken(self):
|
||||
"""Test AccessToken"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.access_token.AccessToken() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_task.py
Normal file
40
test/test_action_task.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.action_task import ActionTask # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestActionTask(unittest.TestCase):
|
||||
"""ActionTask unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionTask(self):
|
||||
"""Test ActionTask"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.action_task.ActionTask() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_task_response.py
Normal file
40
test/test_action_task_response.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.action_task_response import ActionTaskResponse # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestActionTaskResponse(unittest.TestCase):
|
||||
"""ActionTaskResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionTaskResponse(self):
|
||||
"""Test ActionTaskResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.action_task_response.ActionTaskResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_variable.py
Normal file
40
test/test_action_variable.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.action_variable import ActionVariable # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestActionVariable(unittest.TestCase):
|
||||
"""ActionVariable unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionVariable(self):
|
||||
"""Test ActionVariable"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.action_variable.ActionVariable() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_activity.py
Normal file
40
test/test_activity.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.activity import Activity # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestActivity(unittest.TestCase):
|
||||
"""Activity unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActivity(self):
|
||||
"""Test Activity"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.activity.Activity() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_activity_pub.py
Normal file
40
test/test_activity_pub.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.activity_pub import ActivityPub # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestActivityPub(unittest.TestCase):
|
||||
"""ActivityPub unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActivityPub(self):
|
||||
"""Test ActivityPub"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.activity_pub.ActivityPub() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
48
test/test_activitypub_api.py
Normal file
48
test/test_activitypub_api.py
Normal file
@@ -0,0 +1,48 @@
|
||||
# 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.activitypub_api import ActivitypubApi # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestActivitypubApi(unittest.TestCase):
|
||||
"""ActivitypubApi unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
self.api = gitea.api.activitypub_api.ActivitypubApi() # noqa: E501
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def test_activitypub_person(self):
|
||||
"""Test case for activitypub_person
|
||||
|
||||
Returns the Person actor for a user # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_activitypub_person_inbox(self):
|
||||
"""Test case for activitypub_person_inbox
|
||||
|
||||
Send to the inbox # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_add_collaborator_option.py
Normal file
40
test/test_add_collaborator_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.add_collaborator_option import AddCollaboratorOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestAddCollaboratorOption(unittest.TestCase):
|
||||
"""AddCollaboratorOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testAddCollaboratorOption(self):
|
||||
"""Test AddCollaboratorOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.add_collaborator_option.AddCollaboratorOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_add_time_option.py
Normal file
40
test/test_add_time_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.add_time_option import AddTimeOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestAddTimeOption(unittest.TestCase):
|
||||
"""AddTimeOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testAddTimeOption(self):
|
||||
"""Test AddTimeOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.add_time_option.AddTimeOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
216
test/test_admin_api.py
Normal file
216
test/test_admin_api.py
Normal file
@@ -0,0 +1,216 @@
|
||||
# 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.admin_api import AdminApi # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestAdminApi(unittest.TestCase):
|
||||
"""AdminApi unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
self.api = gitea.api.admin_api.AdminApi() # noqa: E501
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def test_admin_add_user_badges(self):
|
||||
"""Test case for admin_add_user_badges
|
||||
|
||||
Add a badge to a user # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_adopt_repository(self):
|
||||
"""Test case for admin_adopt_repository
|
||||
|
||||
Adopt unadopted files as a repository # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_create_hook(self):
|
||||
"""Test case for admin_create_hook
|
||||
|
||||
Create a hook # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_create_org(self):
|
||||
"""Test case for admin_create_org
|
||||
|
||||
Create an organization # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_create_public_key(self):
|
||||
"""Test case for admin_create_public_key
|
||||
|
||||
Add a public key on behalf of a user # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_create_repo(self):
|
||||
"""Test case for admin_create_repo
|
||||
|
||||
Create a repository on behalf of a user # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_create_user(self):
|
||||
"""Test case for admin_create_user
|
||||
|
||||
Create a user # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_cron_list(self):
|
||||
"""Test case for admin_cron_list
|
||||
|
||||
List cron tasks # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_cron_run(self):
|
||||
"""Test case for admin_cron_run
|
||||
|
||||
Run cron task # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_delete_hook(self):
|
||||
"""Test case for admin_delete_hook
|
||||
|
||||
Delete a hook # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_delete_unadopted_repository(self):
|
||||
"""Test case for admin_delete_unadopted_repository
|
||||
|
||||
Delete unadopted files # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_delete_user(self):
|
||||
"""Test case for admin_delete_user
|
||||
|
||||
Delete a user # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_delete_user_badges(self):
|
||||
"""Test case for admin_delete_user_badges
|
||||
|
||||
Remove a badge from a user # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_delete_user_public_key(self):
|
||||
"""Test case for admin_delete_user_public_key
|
||||
|
||||
Delete a user's public key # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_edit_hook(self):
|
||||
"""Test case for admin_edit_hook
|
||||
|
||||
Update a hook # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_edit_user(self):
|
||||
"""Test case for admin_edit_user
|
||||
|
||||
Edit an existing user # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_get_all_emails(self):
|
||||
"""Test case for admin_get_all_emails
|
||||
|
||||
List all emails # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_get_all_orgs(self):
|
||||
"""Test case for admin_get_all_orgs
|
||||
|
||||
List all organizations # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_get_hook(self):
|
||||
"""Test case for admin_get_hook
|
||||
|
||||
Get a hook # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_get_runner_registration_token(self):
|
||||
"""Test case for admin_get_runner_registration_token
|
||||
|
||||
Get an global actions runner registration token # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_list_hooks(self):
|
||||
"""Test case for admin_list_hooks
|
||||
|
||||
List system's webhooks # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_list_user_badges(self):
|
||||
"""Test case for admin_list_user_badges
|
||||
|
||||
List a user's badges # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_rename_user(self):
|
||||
"""Test case for admin_rename_user
|
||||
|
||||
Rename a user # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_search_emails(self):
|
||||
"""Test case for admin_search_emails
|
||||
|
||||
Search all emails # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_search_users(self):
|
||||
"""Test case for admin_search_users
|
||||
|
||||
Search users according filter conditions # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_admin_unadopted_list(self):
|
||||
"""Test case for admin_unadopted_list
|
||||
|
||||
List unadopted repositories # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_annotated_tag.py
Normal file
40
test/test_annotated_tag.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.annotated_tag import AnnotatedTag # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestAnnotatedTag(unittest.TestCase):
|
||||
"""AnnotatedTag unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testAnnotatedTag(self):
|
||||
"""Test AnnotatedTag"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.annotated_tag.AnnotatedTag() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_annotated_tag_object.py
Normal file
40
test/test_annotated_tag_object.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.annotated_tag_object import AnnotatedTagObject # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestAnnotatedTagObject(unittest.TestCase):
|
||||
"""AnnotatedTagObject unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testAnnotatedTagObject(self):
|
||||
"""Test AnnotatedTagObject"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.annotated_tag_object.AnnotatedTagObject() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_api_error.py
Normal file
40
test/test_api_error.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.api_error import APIError # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestAPIError(unittest.TestCase):
|
||||
"""APIError unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testAPIError(self):
|
||||
"""Test APIError"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.api_error.APIError() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_attachment.py
Normal file
40
test/test_attachment.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.attachment import Attachment # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestAttachment(unittest.TestCase):
|
||||
"""Attachment unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testAttachment(self):
|
||||
"""Test Attachment"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.attachment.Attachment() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_badge.py
Normal file
40
test/test_badge.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.badge import Badge # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestBadge(unittest.TestCase):
|
||||
"""Badge unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testBadge(self):
|
||||
"""Test Badge"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.badge.Badge() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_branch.py
Normal file
40
test/test_branch.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.branch import Branch # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestBranch(unittest.TestCase):
|
||||
"""Branch unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testBranch(self):
|
||||
"""Test Branch"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.branch.Branch() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_branch_protection.py
Normal file
40
test/test_branch_protection.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.branch_protection import BranchProtection # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestBranchProtection(unittest.TestCase):
|
||||
"""BranchProtection unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testBranchProtection(self):
|
||||
"""Test BranchProtection"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.branch_protection.BranchProtection() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_change_file_operation.py
Normal file
40
test/test_change_file_operation.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.change_file_operation import ChangeFileOperation # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestChangeFileOperation(unittest.TestCase):
|
||||
"""ChangeFileOperation unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testChangeFileOperation(self):
|
||||
"""Test ChangeFileOperation"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.change_file_operation.ChangeFileOperation() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_change_files_options.py
Normal file
40
test/test_change_files_options.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.change_files_options import ChangeFilesOptions # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestChangeFilesOptions(unittest.TestCase):
|
||||
"""ChangeFilesOptions unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testChangeFilesOptions(self):
|
||||
"""Test ChangeFilesOptions"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.change_files_options.ChangeFilesOptions() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_changed_file.py
Normal file
40
test/test_changed_file.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.changed_file import ChangedFile # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestChangedFile(unittest.TestCase):
|
||||
"""ChangedFile unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testChangedFile(self):
|
||||
"""Test ChangedFile"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.changed_file.ChangedFile() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_combined_status.py
Normal file
40
test/test_combined_status.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.combined_status import CombinedStatus # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCombinedStatus(unittest.TestCase):
|
||||
"""CombinedStatus unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCombinedStatus(self):
|
||||
"""Test CombinedStatus"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.combined_status.CombinedStatus() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_comment.py
Normal file
40
test/test_comment.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.comment import Comment # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestComment(unittest.TestCase):
|
||||
"""Comment unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testComment(self):
|
||||
"""Test Comment"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.comment.Comment() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_commit.py
Normal file
40
test/test_commit.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.commit import Commit # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCommit(unittest.TestCase):
|
||||
"""Commit unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCommit(self):
|
||||
"""Test Commit"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.commit.Commit() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_commit_affected_files.py
Normal file
40
test/test_commit_affected_files.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.commit_affected_files import CommitAffectedFiles # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCommitAffectedFiles(unittest.TestCase):
|
||||
"""CommitAffectedFiles unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCommitAffectedFiles(self):
|
||||
"""Test CommitAffectedFiles"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.commit_affected_files.CommitAffectedFiles() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_commit_date_options.py
Normal file
40
test/test_commit_date_options.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.commit_date_options import CommitDateOptions # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCommitDateOptions(unittest.TestCase):
|
||||
"""CommitDateOptions unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCommitDateOptions(self):
|
||||
"""Test CommitDateOptions"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.commit_date_options.CommitDateOptions() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_commit_meta.py
Normal file
40
test/test_commit_meta.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.commit_meta import CommitMeta # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCommitMeta(unittest.TestCase):
|
||||
"""CommitMeta unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCommitMeta(self):
|
||||
"""Test CommitMeta"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.commit_meta.CommitMeta() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_commit_stats.py
Normal file
40
test/test_commit_stats.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.commit_stats import CommitStats # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCommitStats(unittest.TestCase):
|
||||
"""CommitStats unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCommitStats(self):
|
||||
"""Test CommitStats"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.commit_stats.CommitStats() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_commit_status.py
Normal file
40
test/test_commit_status.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.commit_status import CommitStatus # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCommitStatus(unittest.TestCase):
|
||||
"""CommitStatus unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCommitStatus(self):
|
||||
"""Test CommitStatus"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.commit_status.CommitStatus() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_commit_status_state.py
Normal file
40
test/test_commit_status_state.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.commit_status_state import CommitStatusState # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCommitStatusState(unittest.TestCase):
|
||||
"""CommitStatusState unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCommitStatusState(self):
|
||||
"""Test CommitStatusState"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.commit_status_state.CommitStatusState() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_commit_user.py
Normal file
40
test/test_commit_user.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.commit_user import CommitUser # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCommitUser(unittest.TestCase):
|
||||
"""CommitUser unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCommitUser(self):
|
||||
"""Test CommitUser"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.commit_user.CommitUser() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_compare.py
Normal file
40
test/test_compare.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.compare import Compare # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCompare(unittest.TestCase):
|
||||
"""Compare unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCompare(self):
|
||||
"""Test Compare"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.compare.Compare() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_contents_response.py
Normal file
40
test/test_contents_response.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.contents_response import ContentsResponse # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestContentsResponse(unittest.TestCase):
|
||||
"""ContentsResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testContentsResponse(self):
|
||||
"""Test ContentsResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.contents_response.ContentsResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_access_token_option.py
Normal file
40
test/test_create_access_token_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_access_token_option import CreateAccessTokenOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateAccessTokenOption(unittest.TestCase):
|
||||
"""CreateAccessTokenOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateAccessTokenOption(self):
|
||||
"""Test CreateAccessTokenOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_access_token_option.CreateAccessTokenOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_branch_protection_option.py
Normal file
40
test/test_create_branch_protection_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_branch_protection_option import CreateBranchProtectionOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateBranchProtectionOption(unittest.TestCase):
|
||||
"""CreateBranchProtectionOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateBranchProtectionOption(self):
|
||||
"""Test CreateBranchProtectionOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_branch_protection_option.CreateBranchProtectionOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_branch_repo_option.py
Normal file
40
test/test_create_branch_repo_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_branch_repo_option import CreateBranchRepoOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateBranchRepoOption(unittest.TestCase):
|
||||
"""CreateBranchRepoOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateBranchRepoOption(self):
|
||||
"""Test CreateBranchRepoOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_branch_repo_option.CreateBranchRepoOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_email_option.py
Normal file
40
test/test_create_email_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_email_option import CreateEmailOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateEmailOption(unittest.TestCase):
|
||||
"""CreateEmailOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateEmailOption(self):
|
||||
"""Test CreateEmailOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_email_option.CreateEmailOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_file_options.py
Normal file
40
test/test_create_file_options.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_file_options import CreateFileOptions # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateFileOptions(unittest.TestCase):
|
||||
"""CreateFileOptions unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateFileOptions(self):
|
||||
"""Test CreateFileOptions"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_file_options.CreateFileOptions() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_fork_option.py
Normal file
40
test/test_create_fork_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_fork_option import CreateForkOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateForkOption(unittest.TestCase):
|
||||
"""CreateForkOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateForkOption(self):
|
||||
"""Test CreateForkOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_fork_option.CreateForkOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_gpg_key_option.py
Normal file
40
test/test_create_gpg_key_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_gpg_key_option import CreateGPGKeyOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateGPGKeyOption(unittest.TestCase):
|
||||
"""CreateGPGKeyOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateGPGKeyOption(self):
|
||||
"""Test CreateGPGKeyOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_gpg_key_option.CreateGPGKeyOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_hook_option.py
Normal file
40
test/test_create_hook_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_hook_option import CreateHookOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateHookOption(unittest.TestCase):
|
||||
"""CreateHookOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateHookOption(self):
|
||||
"""Test CreateHookOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_hook_option.CreateHookOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_hook_option_config.py
Normal file
40
test/test_create_hook_option_config.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_hook_option_config import CreateHookOptionConfig # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateHookOptionConfig(unittest.TestCase):
|
||||
"""CreateHookOptionConfig unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateHookOptionConfig(self):
|
||||
"""Test CreateHookOptionConfig"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_hook_option_config.CreateHookOptionConfig() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_issue_comment_option.py
Normal file
40
test/test_create_issue_comment_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_issue_comment_option import CreateIssueCommentOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateIssueCommentOption(unittest.TestCase):
|
||||
"""CreateIssueCommentOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateIssueCommentOption(self):
|
||||
"""Test CreateIssueCommentOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_issue_comment_option.CreateIssueCommentOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_issue_option.py
Normal file
40
test/test_create_issue_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_issue_option import CreateIssueOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateIssueOption(unittest.TestCase):
|
||||
"""CreateIssueOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateIssueOption(self):
|
||||
"""Test CreateIssueOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_issue_option.CreateIssueOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_key_option.py
Normal file
40
test/test_create_key_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_key_option import CreateKeyOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateKeyOption(unittest.TestCase):
|
||||
"""CreateKeyOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateKeyOption(self):
|
||||
"""Test CreateKeyOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_key_option.CreateKeyOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_label_option.py
Normal file
40
test/test_create_label_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_label_option import CreateLabelOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateLabelOption(unittest.TestCase):
|
||||
"""CreateLabelOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateLabelOption(self):
|
||||
"""Test CreateLabelOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_label_option.CreateLabelOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_milestone_option.py
Normal file
40
test/test_create_milestone_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_milestone_option import CreateMilestoneOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateMilestoneOption(unittest.TestCase):
|
||||
"""CreateMilestoneOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateMilestoneOption(self):
|
||||
"""Test CreateMilestoneOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_milestone_option.CreateMilestoneOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_o_auth2_application_options.py
Normal file
40
test/test_create_o_auth2_application_options.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_o_auth2_application_options import CreateOAuth2ApplicationOptions # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateOAuth2ApplicationOptions(unittest.TestCase):
|
||||
"""CreateOAuth2ApplicationOptions unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateOAuth2ApplicationOptions(self):
|
||||
"""Test CreateOAuth2ApplicationOptions"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_o_auth2_application_options.CreateOAuth2ApplicationOptions() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_or_update_secret_option.py
Normal file
40
test/test_create_or_update_secret_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_or_update_secret_option import CreateOrUpdateSecretOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateOrUpdateSecretOption(unittest.TestCase):
|
||||
"""CreateOrUpdateSecretOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateOrUpdateSecretOption(self):
|
||||
"""Test CreateOrUpdateSecretOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_or_update_secret_option.CreateOrUpdateSecretOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_org_option.py
Normal file
40
test/test_create_org_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_org_option import CreateOrgOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateOrgOption(unittest.TestCase):
|
||||
"""CreateOrgOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateOrgOption(self):
|
||||
"""Test CreateOrgOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_org_option.CreateOrgOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_pull_request_option.py
Normal file
40
test/test_create_pull_request_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_pull_request_option import CreatePullRequestOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreatePullRequestOption(unittest.TestCase):
|
||||
"""CreatePullRequestOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreatePullRequestOption(self):
|
||||
"""Test CreatePullRequestOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_pull_request_option.CreatePullRequestOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_pull_review_comment.py
Normal file
40
test/test_create_pull_review_comment.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_pull_review_comment import CreatePullReviewComment # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreatePullReviewComment(unittest.TestCase):
|
||||
"""CreatePullReviewComment unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreatePullReviewComment(self):
|
||||
"""Test CreatePullReviewComment"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_pull_review_comment.CreatePullReviewComment() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_pull_review_options.py
Normal file
40
test/test_create_pull_review_options.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_pull_review_options import CreatePullReviewOptions # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreatePullReviewOptions(unittest.TestCase):
|
||||
"""CreatePullReviewOptions unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreatePullReviewOptions(self):
|
||||
"""Test CreatePullReviewOptions"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_pull_review_options.CreatePullReviewOptions() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_push_mirror_option.py
Normal file
40
test/test_create_push_mirror_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_push_mirror_option import CreatePushMirrorOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreatePushMirrorOption(unittest.TestCase):
|
||||
"""CreatePushMirrorOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreatePushMirrorOption(self):
|
||||
"""Test CreatePushMirrorOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_push_mirror_option.CreatePushMirrorOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_release_option.py
Normal file
40
test/test_create_release_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_release_option import CreateReleaseOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateReleaseOption(unittest.TestCase):
|
||||
"""CreateReleaseOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateReleaseOption(self):
|
||||
"""Test CreateReleaseOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_release_option.CreateReleaseOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_repo_option.py
Normal file
40
test/test_create_repo_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_repo_option import CreateRepoOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateRepoOption(unittest.TestCase):
|
||||
"""CreateRepoOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateRepoOption(self):
|
||||
"""Test CreateRepoOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_repo_option.CreateRepoOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_status_option.py
Normal file
40
test/test_create_status_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_status_option import CreateStatusOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateStatusOption(unittest.TestCase):
|
||||
"""CreateStatusOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateStatusOption(self):
|
||||
"""Test CreateStatusOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_status_option.CreateStatusOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_tag_option.py
Normal file
40
test/test_create_tag_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_tag_option import CreateTagOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateTagOption(unittest.TestCase):
|
||||
"""CreateTagOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateTagOption(self):
|
||||
"""Test CreateTagOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_tag_option.CreateTagOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_tag_protection_option.py
Normal file
40
test/test_create_tag_protection_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_tag_protection_option import CreateTagProtectionOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateTagProtectionOption(unittest.TestCase):
|
||||
"""CreateTagProtectionOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateTagProtectionOption(self):
|
||||
"""Test CreateTagProtectionOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_tag_protection_option.CreateTagProtectionOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_team_option.py
Normal file
40
test/test_create_team_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_team_option import CreateTeamOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateTeamOption(unittest.TestCase):
|
||||
"""CreateTeamOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateTeamOption(self):
|
||||
"""Test CreateTeamOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_team_option.CreateTeamOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_user_option.py
Normal file
40
test/test_create_user_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_user_option import CreateUserOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateUserOption(unittest.TestCase):
|
||||
"""CreateUserOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateUserOption(self):
|
||||
"""Test CreateUserOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_user_option.CreateUserOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_variable_option.py
Normal file
40
test/test_create_variable_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_variable_option import CreateVariableOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateVariableOption(unittest.TestCase):
|
||||
"""CreateVariableOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateVariableOption(self):
|
||||
"""Test CreateVariableOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_variable_option.CreateVariableOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_wiki_page_options.py
Normal file
40
test/test_create_wiki_page_options.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.create_wiki_page_options import CreateWikiPageOptions # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateWikiPageOptions(unittest.TestCase):
|
||||
"""CreateWikiPageOptions unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateWikiPageOptions(self):
|
||||
"""Test CreateWikiPageOptions"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.create_wiki_page_options.CreateWikiPageOptions() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_cron.py
Normal file
40
test/test_cron.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.cron import Cron # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestCron(unittest.TestCase):
|
||||
"""Cron unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCron(self):
|
||||
"""Test Cron"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.cron.Cron() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_delete_email_option.py
Normal file
40
test/test_delete_email_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.delete_email_option import DeleteEmailOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestDeleteEmailOption(unittest.TestCase):
|
||||
"""DeleteEmailOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testDeleteEmailOption(self):
|
||||
"""Test DeleteEmailOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.delete_email_option.DeleteEmailOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_delete_file_options.py
Normal file
40
test/test_delete_file_options.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.delete_file_options import DeleteFileOptions # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestDeleteFileOptions(unittest.TestCase):
|
||||
"""DeleteFileOptions unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testDeleteFileOptions(self):
|
||||
"""Test DeleteFileOptions"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.delete_file_options.DeleteFileOptions() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_deploy_key.py
Normal file
40
test/test_deploy_key.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.deploy_key import DeployKey # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestDeployKey(unittest.TestCase):
|
||||
"""DeployKey unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testDeployKey(self):
|
||||
"""Test DeployKey"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.deploy_key.DeployKey() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_dismiss_pull_review_options.py
Normal file
40
test/test_dismiss_pull_review_options.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.dismiss_pull_review_options import DismissPullReviewOptions # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestDismissPullReviewOptions(unittest.TestCase):
|
||||
"""DismissPullReviewOptions unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testDismissPullReviewOptions(self):
|
||||
"""Test DismissPullReviewOptions"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.dismiss_pull_review_options.DismissPullReviewOptions() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_attachment_options.py
Normal file
40
test/test_edit_attachment_options.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_attachment_options import EditAttachmentOptions # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditAttachmentOptions(unittest.TestCase):
|
||||
"""EditAttachmentOptions unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditAttachmentOptions(self):
|
||||
"""Test EditAttachmentOptions"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_attachment_options.EditAttachmentOptions() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_branch_protection_option.py
Normal file
40
test/test_edit_branch_protection_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_branch_protection_option import EditBranchProtectionOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditBranchProtectionOption(unittest.TestCase):
|
||||
"""EditBranchProtectionOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditBranchProtectionOption(self):
|
||||
"""Test EditBranchProtectionOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_branch_protection_option.EditBranchProtectionOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_deadline_option.py
Normal file
40
test/test_edit_deadline_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_deadline_option import EditDeadlineOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditDeadlineOption(unittest.TestCase):
|
||||
"""EditDeadlineOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditDeadlineOption(self):
|
||||
"""Test EditDeadlineOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_deadline_option.EditDeadlineOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_git_hook_option.py
Normal file
40
test/test_edit_git_hook_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_git_hook_option import EditGitHookOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditGitHookOption(unittest.TestCase):
|
||||
"""EditGitHookOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditGitHookOption(self):
|
||||
"""Test EditGitHookOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_git_hook_option.EditGitHookOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_hook_option.py
Normal file
40
test/test_edit_hook_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_hook_option import EditHookOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditHookOption(unittest.TestCase):
|
||||
"""EditHookOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditHookOption(self):
|
||||
"""Test EditHookOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_hook_option.EditHookOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_issue_comment_option.py
Normal file
40
test/test_edit_issue_comment_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_issue_comment_option import EditIssueCommentOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditIssueCommentOption(unittest.TestCase):
|
||||
"""EditIssueCommentOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditIssueCommentOption(self):
|
||||
"""Test EditIssueCommentOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_issue_comment_option.EditIssueCommentOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_issue_option.py
Normal file
40
test/test_edit_issue_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_issue_option import EditIssueOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditIssueOption(unittest.TestCase):
|
||||
"""EditIssueOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditIssueOption(self):
|
||||
"""Test EditIssueOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_issue_option.EditIssueOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_label_option.py
Normal file
40
test/test_edit_label_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_label_option import EditLabelOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditLabelOption(unittest.TestCase):
|
||||
"""EditLabelOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditLabelOption(self):
|
||||
"""Test EditLabelOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_label_option.EditLabelOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_milestone_option.py
Normal file
40
test/test_edit_milestone_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_milestone_option import EditMilestoneOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditMilestoneOption(unittest.TestCase):
|
||||
"""EditMilestoneOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditMilestoneOption(self):
|
||||
"""Test EditMilestoneOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_milestone_option.EditMilestoneOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_org_option.py
Normal file
40
test/test_edit_org_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_org_option import EditOrgOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditOrgOption(unittest.TestCase):
|
||||
"""EditOrgOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditOrgOption(self):
|
||||
"""Test EditOrgOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_org_option.EditOrgOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_pull_request_option.py
Normal file
40
test/test_edit_pull_request_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_pull_request_option import EditPullRequestOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditPullRequestOption(unittest.TestCase):
|
||||
"""EditPullRequestOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditPullRequestOption(self):
|
||||
"""Test EditPullRequestOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_pull_request_option.EditPullRequestOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_reaction_option.py
Normal file
40
test/test_edit_reaction_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_reaction_option import EditReactionOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditReactionOption(unittest.TestCase):
|
||||
"""EditReactionOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditReactionOption(self):
|
||||
"""Test EditReactionOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_reaction_option.EditReactionOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_release_option.py
Normal file
40
test/test_edit_release_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_release_option import EditReleaseOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditReleaseOption(unittest.TestCase):
|
||||
"""EditReleaseOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditReleaseOption(self):
|
||||
"""Test EditReleaseOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_release_option.EditReleaseOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_repo_option.py
Normal file
40
test/test_edit_repo_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_repo_option import EditRepoOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditRepoOption(unittest.TestCase):
|
||||
"""EditRepoOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditRepoOption(self):
|
||||
"""Test EditRepoOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_repo_option.EditRepoOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_tag_protection_option.py
Normal file
40
test/test_edit_tag_protection_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_tag_protection_option import EditTagProtectionOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditTagProtectionOption(unittest.TestCase):
|
||||
"""EditTagProtectionOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditTagProtectionOption(self):
|
||||
"""Test EditTagProtectionOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_tag_protection_option.EditTagProtectionOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_team_option.py
Normal file
40
test/test_edit_team_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_team_option import EditTeamOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditTeamOption(unittest.TestCase):
|
||||
"""EditTeamOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditTeamOption(self):
|
||||
"""Test EditTeamOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_team_option.EditTeamOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_edit_user_option.py
Normal file
40
test/test_edit_user_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.edit_user_option import EditUserOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEditUserOption(unittest.TestCase):
|
||||
"""EditUserOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEditUserOption(self):
|
||||
"""Test EditUserOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.edit_user_option.EditUserOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_email.py
Normal file
40
test/test_email.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.email import Email # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestEmail(unittest.TestCase):
|
||||
"""Email unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testEmail(self):
|
||||
"""Test Email"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.email.Email() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_external_tracker.py
Normal file
40
test/test_external_tracker.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.external_tracker import ExternalTracker # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestExternalTracker(unittest.TestCase):
|
||||
"""ExternalTracker unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testExternalTracker(self):
|
||||
"""Test ExternalTracker"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.external_tracker.ExternalTracker() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_external_wiki.py
Normal file
40
test/test_external_wiki.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.external_wiki import ExternalWiki # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestExternalWiki(unittest.TestCase):
|
||||
"""ExternalWiki unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testExternalWiki(self):
|
||||
"""Test ExternalWiki"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.external_wiki.ExternalWiki() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_file_commit_response.py
Normal file
40
test/test_file_commit_response.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.file_commit_response import FileCommitResponse # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestFileCommitResponse(unittest.TestCase):
|
||||
"""FileCommitResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testFileCommitResponse(self):
|
||||
"""Test FileCommitResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.file_commit_response.FileCommitResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_file_delete_response.py
Normal file
40
test/test_file_delete_response.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.file_delete_response import FileDeleteResponse # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestFileDeleteResponse(unittest.TestCase):
|
||||
"""FileDeleteResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testFileDeleteResponse(self):
|
||||
"""Test FileDeleteResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.file_delete_response.FileDeleteResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_file_links_response.py
Normal file
40
test/test_file_links_response.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.file_links_response import FileLinksResponse # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestFileLinksResponse(unittest.TestCase):
|
||||
"""FileLinksResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testFileLinksResponse(self):
|
||||
"""Test FileLinksResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.file_links_response.FileLinksResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_file_response.py
Normal file
40
test/test_file_response.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.file_response import FileResponse # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestFileResponse(unittest.TestCase):
|
||||
"""FileResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testFileResponse(self):
|
||||
"""Test FileResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.file_response.FileResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_files_response.py
Normal file
40
test/test_files_response.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.files_response import FilesResponse # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestFilesResponse(unittest.TestCase):
|
||||
"""FilesResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testFilesResponse(self):
|
||||
"""Test FilesResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.files_response.FilesResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_general_api_settings.py
Normal file
40
test/test_general_api_settings.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.general_api_settings import GeneralAPISettings # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestGeneralAPISettings(unittest.TestCase):
|
||||
"""GeneralAPISettings unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testGeneralAPISettings(self):
|
||||
"""Test GeneralAPISettings"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.general_api_settings.GeneralAPISettings() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_general_attachment_settings.py
Normal file
40
test/test_general_attachment_settings.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.general_attachment_settings import GeneralAttachmentSettings # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestGeneralAttachmentSettings(unittest.TestCase):
|
||||
"""GeneralAttachmentSettings unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testGeneralAttachmentSettings(self):
|
||||
"""Test GeneralAttachmentSettings"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.general_attachment_settings.GeneralAttachmentSettings() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_general_repo_settings.py
Normal file
40
test/test_general_repo_settings.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.general_repo_settings import GeneralRepoSettings # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestGeneralRepoSettings(unittest.TestCase):
|
||||
"""GeneralRepoSettings unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testGeneralRepoSettings(self):
|
||||
"""Test GeneralRepoSettings"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.general_repo_settings.GeneralRepoSettings() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_general_ui_settings.py
Normal file
40
test/test_general_ui_settings.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.general_ui_settings import GeneralUISettings # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestGeneralUISettings(unittest.TestCase):
|
||||
"""GeneralUISettings unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testGeneralUISettings(self):
|
||||
"""Test GeneralUISettings"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.general_ui_settings.GeneralUISettings() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_generate_repo_option.py
Normal file
40
test/test_generate_repo_option.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.generate_repo_option import GenerateRepoOption # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestGenerateRepoOption(unittest.TestCase):
|
||||
"""GenerateRepoOption unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testGenerateRepoOption(self):
|
||||
"""Test GenerateRepoOption"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.generate_repo_option.GenerateRepoOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_git_blob_response.py
Normal file
40
test/test_git_blob_response.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.git_blob_response import GitBlobResponse # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestGitBlobResponse(unittest.TestCase):
|
||||
"""GitBlobResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testGitBlobResponse(self):
|
||||
"""Test GitBlobResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.git_blob_response.GitBlobResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_git_entry.py
Normal file
40
test/test_git_entry.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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.models.git_entry import GitEntry # noqa: E501
|
||||
from gitea.rest import ApiException
|
||||
|
||||
|
||||
class TestGitEntry(unittest.TestCase):
|
||||
"""GitEntry unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testGitEntry(self):
|
||||
"""Test GitEntry"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = gitea.models.git_entry.GitEntry() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user