Automatically generated Python client for Gitea. DO NOT UPDATE MANUALLY!!!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

433 lines
9.7 KiB

# coding: utf-8
"""
Gitea API.
This documentation describes the Gitea API. # noqa: E501
OpenAPI spec version: 1.1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import swagger_client
from swagger_client.api.repository_api import RepositoryApi # noqa: E501
from swagger_client.rest import ApiException
class TestRepositoryApi(unittest.TestCase):
"""RepositoryApi unit test stubs"""
def setUp(self):
self.api = swagger_client.api.repository_api.RepositoryApi() # noqa: E501
def tearDown(self):
pass
def test_create_current_user_repo(self):
"""Test case for create_current_user_repo
Create a repository # noqa: E501
"""
pass
def test_create_fork(self):
"""Test case for create_fork
Fork a repository # noqa: E501
"""
pass
def test_get_tree(self):
"""Test case for get_tree
Gets the tree of a repository. # noqa: E501
"""
pass
def test_list_forks(self):
"""Test case for list_forks
List a repository's forks # noqa: E501
"""
pass
def test_repo_add_collaborator(self):
"""Test case for repo_add_collaborator
Add a collaborator to a repository # noqa: E501
"""
pass
def test_repo_check_collaborator(self):
"""Test case for repo_check_collaborator
Check if a user is a collaborator of a repository # noqa: E501
"""
pass
def test_repo_create_hook(self):
"""Test case for repo_create_hook
Create a hook # noqa: E501
"""
pass
def test_repo_create_key(self):
"""Test case for repo_create_key
Add a key to a repository # noqa: E501
"""
pass
def test_repo_create_pull_request(self):
"""Test case for repo_create_pull_request
Create a pull request # noqa: E501
"""
pass
def test_repo_create_release(self):
"""Test case for repo_create_release
Create a release # noqa: E501
"""
pass
def test_repo_create_release_attachment(self):
"""Test case for repo_create_release_attachment
Create a release attachment # noqa: E501
"""
pass
def test_repo_create_status(self):
"""Test case for repo_create_status
Create a commit status # noqa: E501
"""
pass
def test_repo_delete(self):
"""Test case for repo_delete
Delete a repository # noqa: E501
"""
pass
def test_repo_delete_collaborator(self):
"""Test case for repo_delete_collaborator
Delete a collaborator from a repository # noqa: E501
"""
pass
def test_repo_delete_hook(self):
"""Test case for repo_delete_hook
Delete a hook in a repository # noqa: E501
"""
pass
def test_repo_delete_key(self):
"""Test case for repo_delete_key
Delete a key from a repository # noqa: E501
"""
pass
def test_repo_delete_release(self):
"""Test case for repo_delete_release
Delete a release # noqa: E501
"""
pass
def test_repo_delete_release_attachment(self):
"""Test case for repo_delete_release_attachment
Delete a release attachment # noqa: E501
"""
pass
def test_repo_edit_hook(self):
"""Test case for repo_edit_hook
Edit a hook in a repository # noqa: E501
"""
pass
def test_repo_edit_pull_request(self):
"""Test case for repo_edit_pull_request
Update a pull request # noqa: E501
"""
pass
def test_repo_edit_release(self):
"""Test case for repo_edit_release
Update a release # noqa: E501
"""
pass
def test_repo_edit_release_attachment(self):
"""Test case for repo_edit_release_attachment
Edit a release attachment # noqa: E501
"""
pass
def test_repo_get(self):
"""Test case for repo_get
Get a repository # noqa: E501
"""
pass
def test_repo_get_archive(self):
"""Test case for repo_get_archive
Get an archive of a repository # noqa: E501
"""
pass
def test_repo_get_branch(self):
"""Test case for repo_get_branch
Retrieve a specific branch from a repository # noqa: E501
"""
pass
def test_repo_get_by_id(self):
"""Test case for repo_get_by_id
Get a repository by id # noqa: E501
"""
pass
def test_repo_get_combined_status_by_ref(self):
"""Test case for repo_get_combined_status_by_ref
Get a commit's combined status, by branch/tag/commit reference # noqa: E501
"""
pass
def test_repo_get_editor_config(self):
"""Test case for repo_get_editor_config
Get the EditorConfig definitions of a file in a repository # noqa: E501
"""
pass
def test_repo_get_hook(self):
"""Test case for repo_get_hook
Get a hook # noqa: E501
"""
pass
def test_repo_get_key(self):
"""Test case for repo_get_key
Get a repository's key by id # noqa: E501
"""
pass
def test_repo_get_pull_request(self):
"""Test case for repo_get_pull_request
Get a pull request # noqa: E501
"""
pass
def test_repo_get_raw_file(self):
"""Test case for repo_get_raw_file
Get a file from a repository # noqa: E501
"""
pass
def test_repo_get_release(self):
"""Test case for repo_get_release
Get a release # noqa: E501
"""
pass
def test_repo_get_release_attachment(self):
"""Test case for repo_get_release_attachment
Get a release attachment # noqa: E501
"""
pass
def test_repo_list_all_git_refs(self):
"""Test case for repo_list_all_git_refs
Get specified ref or filtered repository's refs # noqa: E501
"""
pass
def test_repo_list_branches(self):
"""Test case for repo_list_branches
List a repository's branches # noqa: E501
"""
pass
def test_repo_list_collaborators(self):
"""Test case for repo_list_collaborators
List a repository's collaborators # noqa: E501
"""
pass
def test_repo_list_git_refs(self):
"""Test case for repo_list_git_refs
Get specified ref or filtered repository's refs # noqa: E501
"""
pass
def test_repo_list_hooks(self):
"""Test case for repo_list_hooks
List the hooks in a repository # noqa: E501
"""
pass
def test_repo_list_keys(self):
"""Test case for repo_list_keys
List a repository's keys # noqa: E501
"""
pass
def test_repo_list_pull_requests(self):
"""Test case for repo_list_pull_requests
List a repo's pull requests # noqa: E501
"""
pass
def test_repo_list_release_attachments(self):
"""Test case for repo_list_release_attachments
List release's attachments # noqa: E501
"""
pass
def test_repo_list_releases(self):
"""Test case for repo_list_releases
List a repo's releases # noqa: E501
"""
pass
def test_repo_list_stargazers(self):
"""Test case for repo_list_stargazers
List a repo's stargazers # noqa: E501
"""
pass
def test_repo_list_statuses(self):
"""Test case for repo_list_statuses
Get a commit's statuses # noqa: E501
"""
pass
def test_repo_list_subscribers(self):
"""Test case for repo_list_subscribers
List a repo's watchers # noqa: E501
"""
pass
def test_repo_merge_pull_request(self):
"""Test case for repo_merge_pull_request
Merge a pull request # noqa: E501
"""
pass
def test_repo_migrate(self):
"""Test case for repo_migrate
Migrate a remote git repository # noqa: E501
"""
pass
def test_repo_mirror_sync(self):
"""Test case for repo_mirror_sync
Sync a mirrored repository # noqa: E501
"""
pass
def test_repo_pull_request_is_merged(self):
"""Test case for repo_pull_request_is_merged
Check if a pull request has been merged # noqa: E501
"""
pass
def test_repo_search(self):
"""Test case for repo_search
Search for repositories # noqa: E501
"""
pass
def test_repo_test_hook(self):
"""Test case for repo_test_hook
Test a push webhook # noqa: E501
"""
pass
def test_repo_tracked_times(self):
"""Test case for repo_tracked_times
List a repo's tracked times # noqa: E501
"""
pass
def test_topic_search(self):
"""Test case for topic_search
search topics via keyword # noqa: E501
"""
pass
def test_user_current_check_subscription(self):
"""Test case for user_current_check_subscription
Check if the current user is watching a repo # noqa: E501
"""
pass
def test_user_current_delete_subscription(self):
"""Test case for user_current_delete_subscription
Unwatch a repo # noqa: E501
"""
pass
def test_user_current_put_subscription(self):
"""Test case for user_current_put_subscription
Watch a repo # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()