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

448 lines
9.9 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.organization_api import OrganizationApi # noqa: E501
from gitea.rest import ApiException
class TestOrganizationApi(unittest.TestCase):
"""OrganizationApi unit test stubs"""
def setUp(self):
self.api = gitea.api.organization_api.OrganizationApi() # noqa: E501
def tearDown(self):
pass
def test_create_org_repo(self):
"""Test case for create_org_repo
Create a repository in an organization # noqa: E501
"""
pass
def test_create_org_repo_deprecated(self):
"""Test case for create_org_repo_deprecated
Create a repository in an organization # noqa: E501
"""
pass
def test_create_org_variable(self):
"""Test case for create_org_variable
Create an org-level variable # noqa: E501
"""
pass
def test_delete_org_secret(self):
"""Test case for delete_org_secret
Delete a secret in an organization # noqa: E501
"""
pass
def test_delete_org_variable(self):
"""Test case for delete_org_variable
Delete an org-level variable # noqa: E501
"""
pass
def test_get_org_variable(self):
"""Test case for get_org_variable
Get an org-level variable # noqa: E501
"""
pass
def test_get_org_variables_list(self):
"""Test case for get_org_variables_list
Get an org-level variables list # noqa: E501
"""
pass
def test_org_add_team_member(self):
"""Test case for org_add_team_member
Add a team member # noqa: E501
"""
pass
def test_org_add_team_repository(self):
"""Test case for org_add_team_repository
Add a repository to a team # noqa: E501
"""
pass
def test_org_conceal_member(self):
"""Test case for org_conceal_member
Conceal a user's membership # noqa: E501
"""
pass
def test_org_create(self):
"""Test case for org_create
Create an organization # noqa: E501
"""
pass
def test_org_create_hook(self):
"""Test case for org_create_hook
Create a hook # noqa: E501
"""
pass
def test_org_create_label(self):
"""Test case for org_create_label
Create a label for an organization # noqa: E501
"""
pass
def test_org_create_team(self):
"""Test case for org_create_team
Create a team # noqa: E501
"""
pass
def test_org_delete(self):
"""Test case for org_delete
Delete an organization # noqa: E501
"""
pass
def test_org_delete_avatar(self):
"""Test case for org_delete_avatar
Delete Avatar # noqa: E501
"""
pass
def test_org_delete_hook(self):
"""Test case for org_delete_hook
Delete a hook # noqa: E501
"""
pass
def test_org_delete_label(self):
"""Test case for org_delete_label
Delete a label # noqa: E501
"""
pass
def test_org_delete_member(self):
"""Test case for org_delete_member
Remove a member from an organization # noqa: E501
"""
pass
def test_org_delete_team(self):
"""Test case for org_delete_team
Delete a team # noqa: E501
"""
pass
def test_org_edit(self):
"""Test case for org_edit
Edit an organization # noqa: E501
"""
pass
def test_org_edit_hook(self):
"""Test case for org_edit_hook
Update a hook # noqa: E501
"""
pass
def test_org_edit_label(self):
"""Test case for org_edit_label
Update a label # noqa: E501
"""
pass
def test_org_edit_team(self):
"""Test case for org_edit_team
Edit a team # noqa: E501
"""
pass
def test_org_get(self):
"""Test case for org_get
Get an organization # noqa: E501
"""
pass
def test_org_get_all(self):
"""Test case for org_get_all
Get list of organizations # noqa: E501
"""
pass
def test_org_get_hook(self):
"""Test case for org_get_hook
Get a hook # noqa: E501
"""
pass
def test_org_get_label(self):
"""Test case for org_get_label
Get a single label # noqa: E501
"""
pass
def test_org_get_runner_registration_token(self):
"""Test case for org_get_runner_registration_token
Get an organization's actions runner registration token # noqa: E501
"""
pass
def test_org_get_team(self):
"""Test case for org_get_team
Get a team # noqa: E501
"""
pass
def test_org_get_user_permissions(self):
"""Test case for org_get_user_permissions
Get user permissions in organization # noqa: E501
"""
pass
def test_org_is_member(self):
"""Test case for org_is_member
Check if a user is a member of an organization # noqa: E501
"""
pass
def test_org_is_public_member(self):
"""Test case for org_is_public_member
Check if a user is a public member of an organization # noqa: E501
"""
pass
def test_org_list_actions_secrets(self):
"""Test case for org_list_actions_secrets
List an organization's actions secrets # noqa: E501
"""
pass
def test_org_list_activity_feeds(self):
"""Test case for org_list_activity_feeds
List an organization's activity feeds # noqa: E501
"""
pass
def test_org_list_current_user_orgs(self):
"""Test case for org_list_current_user_orgs
List the current user's organizations # noqa: E501
"""
pass
def test_org_list_hooks(self):
"""Test case for org_list_hooks
List an organization's webhooks # noqa: E501
"""
pass
def test_org_list_labels(self):
"""Test case for org_list_labels
List an organization's labels # noqa: E501
"""
pass
def test_org_list_members(self):
"""Test case for org_list_members
List an organization's members # noqa: E501
"""
pass
def test_org_list_public_members(self):
"""Test case for org_list_public_members
List an organization's public members # noqa: E501
"""
pass
def test_org_list_repos(self):
"""Test case for org_list_repos
List an organization's repos # noqa: E501
"""
pass
def test_org_list_team_activity_feeds(self):
"""Test case for org_list_team_activity_feeds
List a team's activity feeds # noqa: E501
"""
pass
def test_org_list_team_member(self):
"""Test case for org_list_team_member
List a particular member of team # noqa: E501
"""
pass
def test_org_list_team_members(self):
"""Test case for org_list_team_members
List a team's members # noqa: E501
"""
pass
def test_org_list_team_repo(self):
"""Test case for org_list_team_repo
List a particular repo of team # noqa: E501
"""
pass
def test_org_list_team_repos(self):
"""Test case for org_list_team_repos
List a team's repos # noqa: E501
"""
pass
def test_org_list_teams(self):
"""Test case for org_list_teams
List an organization's teams # noqa: E501
"""
pass
def test_org_list_user_orgs(self):
"""Test case for org_list_user_orgs
List a user's organizations # noqa: E501
"""
pass
def test_org_publicize_member(self):
"""Test case for org_publicize_member
Publicize a user's membership # noqa: E501
"""
pass
def test_org_remove_team_member(self):
"""Test case for org_remove_team_member
Remove a team member # noqa: E501
"""
pass
def test_org_remove_team_repository(self):
"""Test case for org_remove_team_repository
Remove a repository from a team # noqa: E501
"""
pass
def test_org_update_avatar(self):
"""Test case for org_update_avatar
Update Avatar # noqa: E501
"""
pass
def test_organization_block_user(self):
"""Test case for organization_block_user
Block a user # noqa: E501
"""
pass
def test_organization_check_user_block(self):
"""Test case for organization_check_user_block
Check if a user is blocked by the organization # noqa: E501
"""
pass
def test_organization_list_blocks(self):
"""Test case for organization_list_blocks
List users blocked by the organization # noqa: E501
"""
pass
def test_organization_unblock_user(self):
"""Test case for organization_unblock_user
Unblock a user # noqa: E501
"""
pass
def test_team_search(self):
"""Test case for team_search
Search for teams within an organization # noqa: E501
"""
pass
def test_update_org_secret(self):
"""Test case for update_org_secret
Create or Update a secret value in an organization # noqa: E501
"""
pass
def test_update_org_variable(self):
"""Test case for update_org_variable
Update an org-level variable # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()