python-gitea/test/test_issue_api.py
2025-10-21 21:45:29 +02:00

504 lines
12 KiB
Python

# coding: utf-8
"""
Gitea API
This documentation describes the Gitea API. # noqa: E501
OpenAPI spec version: 1.23.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import gitea
from gitea.api.issue_api import IssueApi # noqa: E501
from gitea.rest import ApiException
class TestIssueApi(unittest.TestCase):
"""IssueApi unit test stubs"""
def setUp(self):
self.api = gitea.api.issue_api.IssueApi() # noqa: E501
def tearDown(self):
pass
def test_issue_add_label(self):
"""Test case for issue_add_label
Add a label to an issue # noqa: E501
"""
pass
def test_issue_add_subscription(self):
"""Test case for issue_add_subscription
Subscribe user to issue # noqa: E501
"""
pass
def test_issue_add_time(self):
"""Test case for issue_add_time
Add tracked time to a issue # noqa: E501
"""
pass
def test_issue_check_subscription(self):
"""Test case for issue_check_subscription
Check if user is subscribed to an issue # noqa: E501
"""
pass
def test_issue_clear_labels(self):
"""Test case for issue_clear_labels
Remove all labels from an issue # noqa: E501
"""
pass
def test_issue_create_comment(self):
"""Test case for issue_create_comment
Add a comment to an issue # noqa: E501
"""
pass
def test_issue_create_issue(self):
"""Test case for issue_create_issue
Create an issue. If using deadline only the date will be taken into account, and time of day ignored. # noqa: E501
"""
pass
def test_issue_create_issue_attachment(self):
"""Test case for issue_create_issue_attachment
Create an issue attachment # noqa: E501
"""
pass
def test_issue_create_issue_blocking(self):
"""Test case for issue_create_issue_blocking
Block the issue given in the body by the issue in path # noqa: E501
"""
pass
def test_issue_create_issue_comment_attachment(self):
"""Test case for issue_create_issue_comment_attachment
Create a comment attachment # noqa: E501
"""
pass
def test_issue_create_issue_dependencies(self):
"""Test case for issue_create_issue_dependencies
Make the issue in the url depend on the issue in the form. # noqa: E501
"""
pass
def test_issue_create_label(self):
"""Test case for issue_create_label
Create a label # noqa: E501
"""
pass
def test_issue_create_milestone(self):
"""Test case for issue_create_milestone
Create a milestone # noqa: E501
"""
pass
def test_issue_delete(self):
"""Test case for issue_delete
Delete an issue # noqa: E501
"""
pass
def test_issue_delete_comment(self):
"""Test case for issue_delete_comment
Delete a comment # noqa: E501
"""
pass
def test_issue_delete_comment_deprecated(self):
"""Test case for issue_delete_comment_deprecated
Delete a comment # noqa: E501
"""
pass
def test_issue_delete_comment_reaction(self):
"""Test case for issue_delete_comment_reaction
Remove a reaction from a comment of an issue # noqa: E501
"""
pass
def test_issue_delete_issue_attachment(self):
"""Test case for issue_delete_issue_attachment
Delete an issue attachment # noqa: E501
"""
pass
def test_issue_delete_issue_comment_attachment(self):
"""Test case for issue_delete_issue_comment_attachment
Delete a comment attachment # noqa: E501
"""
pass
def test_issue_delete_issue_reaction(self):
"""Test case for issue_delete_issue_reaction
Remove a reaction from an issue # noqa: E501
"""
pass
def test_issue_delete_label(self):
"""Test case for issue_delete_label
Delete a label # noqa: E501
"""
pass
def test_issue_delete_milestone(self):
"""Test case for issue_delete_milestone
Delete a milestone # noqa: E501
"""
pass
def test_issue_delete_stop_watch(self):
"""Test case for issue_delete_stop_watch
Delete an issue's existing stopwatch. # noqa: E501
"""
pass
def test_issue_delete_subscription(self):
"""Test case for issue_delete_subscription
Unsubscribe user from issue # noqa: E501
"""
pass
def test_issue_delete_time(self):
"""Test case for issue_delete_time
Delete specific tracked time # noqa: E501
"""
pass
def test_issue_edit_comment(self):
"""Test case for issue_edit_comment
Edit a comment # noqa: E501
"""
pass
def test_issue_edit_comment_deprecated(self):
"""Test case for issue_edit_comment_deprecated
Edit a comment # noqa: E501
"""
pass
def test_issue_edit_issue(self):
"""Test case for issue_edit_issue
Edit an issue. If using deadline only the date will be taken into account, and time of day ignored. # noqa: E501
"""
pass
def test_issue_edit_issue_attachment(self):
"""Test case for issue_edit_issue_attachment
Edit an issue attachment # noqa: E501
"""
pass
def test_issue_edit_issue_comment_attachment(self):
"""Test case for issue_edit_issue_comment_attachment
Edit a comment attachment # noqa: E501
"""
pass
def test_issue_edit_issue_deadline(self):
"""Test case for issue_edit_issue_deadline
Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored. # noqa: E501
"""
pass
def test_issue_edit_label(self):
"""Test case for issue_edit_label
Update a label # noqa: E501
"""
pass
def test_issue_edit_milestone(self):
"""Test case for issue_edit_milestone
Update a milestone # noqa: E501
"""
pass
def test_issue_get_comment(self):
"""Test case for issue_get_comment
Get a comment # noqa: E501
"""
pass
def test_issue_get_comment_reactions(self):
"""Test case for issue_get_comment_reactions
Get a list of reactions from a comment of an issue # noqa: E501
"""
pass
def test_issue_get_comments(self):
"""Test case for issue_get_comments
List all comments on an issue # noqa: E501
"""
pass
def test_issue_get_comments_and_timeline(self):
"""Test case for issue_get_comments_and_timeline
List all comments and events on an issue # noqa: E501
"""
pass
def test_issue_get_issue(self):
"""Test case for issue_get_issue
Get an issue # noqa: E501
"""
pass
def test_issue_get_issue_attachment(self):
"""Test case for issue_get_issue_attachment
Get an issue attachment # noqa: E501
"""
pass
def test_issue_get_issue_comment_attachment(self):
"""Test case for issue_get_issue_comment_attachment
Get a comment attachment # noqa: E501
"""
pass
def test_issue_get_issue_reactions(self):
"""Test case for issue_get_issue_reactions
Get a list reactions of an issue # noqa: E501
"""
pass
def test_issue_get_label(self):
"""Test case for issue_get_label
Get a single label # noqa: E501
"""
pass
def test_issue_get_labels(self):
"""Test case for issue_get_labels
Get an issue's labels # noqa: E501
"""
pass
def test_issue_get_milestone(self):
"""Test case for issue_get_milestone
Get a milestone # noqa: E501
"""
pass
def test_issue_get_milestones_list(self):
"""Test case for issue_get_milestones_list
Get all of a repository's opened milestones # noqa: E501
"""
pass
def test_issue_get_repo_comments(self):
"""Test case for issue_get_repo_comments
List all comments in a repository # noqa: E501
"""
pass
def test_issue_list_blocks(self):
"""Test case for issue_list_blocks
List issues that are blocked by this issue # noqa: E501
"""
pass
def test_issue_list_issue_attachments(self):
"""Test case for issue_list_issue_attachments
List issue's attachments # noqa: E501
"""
pass
def test_issue_list_issue_comment_attachments(self):
"""Test case for issue_list_issue_comment_attachments
List comment's attachments # noqa: E501
"""
pass
def test_issue_list_issue_dependencies(self):
"""Test case for issue_list_issue_dependencies
List an issue's dependencies, i.e all issues that block this issue. # noqa: E501
"""
pass
def test_issue_list_issues(self):
"""Test case for issue_list_issues
List a repository's issues # noqa: E501
"""
pass
def test_issue_list_labels(self):
"""Test case for issue_list_labels
Get all of a repository's labels # noqa: E501
"""
pass
def test_issue_post_comment_reaction(self):
"""Test case for issue_post_comment_reaction
Add a reaction to a comment of an issue # noqa: E501
"""
pass
def test_issue_post_issue_reaction(self):
"""Test case for issue_post_issue_reaction
Add a reaction to an issue # noqa: E501
"""
pass
def test_issue_remove_issue_blocking(self):
"""Test case for issue_remove_issue_blocking
Unblock the issue given in the body by the issue in path # noqa: E501
"""
pass
def test_issue_remove_issue_dependencies(self):
"""Test case for issue_remove_issue_dependencies
Remove an issue dependency # noqa: E501
"""
pass
def test_issue_remove_label(self):
"""Test case for issue_remove_label
Remove a label from an issue # noqa: E501
"""
pass
def test_issue_replace_labels(self):
"""Test case for issue_replace_labels
Replace an issue's labels # noqa: E501
"""
pass
def test_issue_reset_time(self):
"""Test case for issue_reset_time
Reset a tracked time of an issue # noqa: E501
"""
pass
def test_issue_search_issues(self):
"""Test case for issue_search_issues
Search for issues across the repositories that the user has access to # noqa: E501
"""
pass
def test_issue_start_stop_watch(self):
"""Test case for issue_start_stop_watch
Start stopwatch on an issue. # noqa: E501
"""
pass
def test_issue_stop_stop_watch(self):
"""Test case for issue_stop_stop_watch
Stop an issue's existing stopwatch. # noqa: E501
"""
pass
def test_issue_subscriptions(self):
"""Test case for issue_subscriptions
Get users who subscribed on an issue. # noqa: E501
"""
pass
def test_issue_tracked_times(self):
"""Test case for issue_tracked_times
List an issue's tracked times # noqa: E501
"""
pass
def test_move_issue_pin(self):
"""Test case for move_issue_pin
Moves the Pin to the given Position # noqa: E501
"""
pass
def test_pin_issue(self):
"""Test case for pin_issue
Pin an Issue # noqa: E501
"""
pass
def test_unpin_issue(self):
"""Test case for unpin_issue
Unpin an Issue # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()