You've already forked gitea_python_api
Init
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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.access_token import AccessToken # noqa: E501
|
||||
from swagger_client.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 = swagger_client.models.access_token.AccessToken() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_artifact.py
Normal file
40
test/test_action_artifact.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Gitea API
|
||||
|
||||
This documentation describes the Gitea API. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 1.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_artifact import ActionArtifact # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionArtifact(unittest.TestCase):
|
||||
"""ActionArtifact unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionArtifact(self):
|
||||
"""Test ActionArtifact"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_artifact.ActionArtifact() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_artifacts_response.py
Normal file
40
test/test_action_artifacts_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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_artifacts_response import ActionArtifactsResponse # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionArtifactsResponse(unittest.TestCase):
|
||||
"""ActionArtifactsResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionArtifactsResponse(self):
|
||||
"""Test ActionArtifactsResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_artifacts_response.ActionArtifactsResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_runner.py
Normal file
40
test/test_action_runner.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Gitea API
|
||||
|
||||
This documentation describes the Gitea API. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 1.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_runner import ActionRunner # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionRunner(unittest.TestCase):
|
||||
"""ActionRunner unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionRunner(self):
|
||||
"""Test ActionRunner"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_runner.ActionRunner() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_runner_label.py
Normal file
40
test/test_action_runner_label.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Gitea API
|
||||
|
||||
This documentation describes the Gitea API. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 1.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_runner_label import ActionRunnerLabel # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionRunnerLabel(unittest.TestCase):
|
||||
"""ActionRunnerLabel unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionRunnerLabel(self):
|
||||
"""Test ActionRunnerLabel"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_runner_label.ActionRunnerLabel() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_runners_response.py
Normal file
40
test/test_action_runners_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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_runners_response import ActionRunnersResponse # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionRunnersResponse(unittest.TestCase):
|
||||
"""ActionRunnersResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionRunnersResponse(self):
|
||||
"""Test ActionRunnersResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_runners_response.ActionRunnersResponse() # 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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_task import ActionTask # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_task_response import ActionTaskResponse # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_variable import ActionVariable # noqa: E501
|
||||
from swagger_client.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 = swagger_client.models.action_variable.ActionVariable() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_workflow.py
Normal file
40
test/test_action_workflow.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Gitea API
|
||||
|
||||
This documentation describes the Gitea API. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 1.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_workflow import ActionWorkflow # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionWorkflow(unittest.TestCase):
|
||||
"""ActionWorkflow unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionWorkflow(self):
|
||||
"""Test ActionWorkflow"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_workflow.ActionWorkflow() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_workflow_job.py
Normal file
40
test/test_action_workflow_job.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Gitea API
|
||||
|
||||
This documentation describes the Gitea API. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 1.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_workflow_job import ActionWorkflowJob # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionWorkflowJob(unittest.TestCase):
|
||||
"""ActionWorkflowJob unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionWorkflowJob(self):
|
||||
"""Test ActionWorkflowJob"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_workflow_job.ActionWorkflowJob() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_workflow_jobs_response.py
Normal file
40
test/test_action_workflow_jobs_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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_workflow_jobs_response import ActionWorkflowJobsResponse # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionWorkflowJobsResponse(unittest.TestCase):
|
||||
"""ActionWorkflowJobsResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionWorkflowJobsResponse(self):
|
||||
"""Test ActionWorkflowJobsResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_workflow_jobs_response.ActionWorkflowJobsResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_workflow_response.py
Normal file
40
test/test_action_workflow_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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_workflow_response import ActionWorkflowResponse # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionWorkflowResponse(unittest.TestCase):
|
||||
"""ActionWorkflowResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionWorkflowResponse(self):
|
||||
"""Test ActionWorkflowResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_workflow_response.ActionWorkflowResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_workflow_run.py
Normal file
40
test/test_action_workflow_run.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Gitea API
|
||||
|
||||
This documentation describes the Gitea API. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 1.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_workflow_run import ActionWorkflowRun # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionWorkflowRun(unittest.TestCase):
|
||||
"""ActionWorkflowRun unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionWorkflowRun(self):
|
||||
"""Test ActionWorkflowRun"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_workflow_run.ActionWorkflowRun() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_workflow_runs_response.py
Normal file
40
test/test_action_workflow_runs_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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_workflow_runs_response import ActionWorkflowRunsResponse # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionWorkflowRunsResponse(unittest.TestCase):
|
||||
"""ActionWorkflowRunsResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionWorkflowRunsResponse(self):
|
||||
"""Test ActionWorkflowRunsResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_workflow_runs_response.ActionWorkflowRunsResponse() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_action_workflow_step.py
Normal file
40
test/test_action_workflow_step.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Gitea API
|
||||
|
||||
This documentation describes the Gitea API. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 1.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.action_workflow_step import ActionWorkflowStep # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActionWorkflowStep(unittest.TestCase):
|
||||
"""ActionWorkflowStep unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testActionWorkflowStep(self):
|
||||
"""Test ActionWorkflowStep"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.action_workflow_step.ActionWorkflowStep() # 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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.activity import Activity # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.activity_pub import ActivityPub # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.api.activitypub_api import ActivitypubApi # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestActivitypubApi(unittest.TestCase):
|
||||
"""ActivitypubApi unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
self.api = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.add_collaborator_option import AddCollaboratorOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.add_time_option import AddTimeOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.models.add_time_option.AddTimeOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
258
test/test_admin_api.py
Normal file
258
test/test_admin_api.py
Normal file
@@ -0,0 +1,258 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Gitea API
|
||||
|
||||
This documentation describes the Gitea API. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 1.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.api.admin_api import AdminApi # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestAdminApi(unittest.TestCase):
|
||||
"""AdminApi unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
self.api = swagger_client.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_runner_registration_token(self):
|
||||
"""Test case for admin_create_runner_registration_token
|
||||
|
||||
Get an global actions runner registration token # 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
|
||||
|
||||
def test_delete_admin_runner(self):
|
||||
"""Test case for delete_admin_runner
|
||||
|
||||
Delete an global runner # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_admin_runner(self):
|
||||
"""Test case for get_admin_runner
|
||||
|
||||
Get an global runner # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_admin_runners(self):
|
||||
"""Test case for get_admin_runners
|
||||
|
||||
Get all runners # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_list_admin_workflow_jobs(self):
|
||||
"""Test case for list_admin_workflow_jobs
|
||||
|
||||
Lists all jobs # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_list_admin_workflow_runs(self):
|
||||
"""Test case for list_admin_workflow_runs
|
||||
|
||||
Lists all runs # 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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.annotated_tag import AnnotatedTag # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.annotated_tag_object import AnnotatedTagObject # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.api_error import APIError # noqa: E501
|
||||
from swagger_client.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 = swagger_client.models.api_error.APIError() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_apply_diff_patch_file_options.py
Normal file
40
test/test_apply_diff_patch_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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.apply_diff_patch_file_options import ApplyDiffPatchFileOptions # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestApplyDiffPatchFileOptions(unittest.TestCase):
|
||||
"""ApplyDiffPatchFileOptions unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testApplyDiffPatchFileOptions(self):
|
||||
"""Test ApplyDiffPatchFileOptions"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.apply_diff_patch_file_options.ApplyDiffPatchFileOptions() # 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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.attachment import Attachment # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.badge import Badge # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.branch import Branch # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.branch_protection import BranchProtection # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.change_file_operation import ChangeFileOperation # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.change_files_options import ChangeFilesOptions # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.changed_file import ChangedFile # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.combined_status import CombinedStatus # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.comment import Comment # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.commit import Commit # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.commit_affected_files import CommitAffectedFiles # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.commit_date_options import CommitDateOptions # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.commit_meta import CommitMeta # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.commit_stats import CommitStats # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.commit_status import CommitStatus # noqa: E501
|
||||
from swagger_client.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 = swagger_client.models.commit_status.CommitStatus() # 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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.commit_user import CommitUser # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.compare import Compare # noqa: E501
|
||||
from swagger_client.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 = swagger_client.models.compare.Compare() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_contents_ext_response.py
Normal file
40
test/test_contents_ext_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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.contents_ext_response import ContentsExtResponse # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestContentsExtResponse(unittest.TestCase):
|
||||
"""ContentsExtResponse unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testContentsExtResponse(self):
|
||||
"""Test ContentsExtResponse"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.contents_ext_response.ContentsExtResponse() # 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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.contents_response import ContentsResponse # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_access_token_option import CreateAccessTokenOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.models.create_access_token_option.CreateAccessTokenOption() # noqa: E501
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
40
test/test_create_action_workflow_dispatch.py
Normal file
40
test/test_create_action_workflow_dispatch.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Gitea API
|
||||
|
||||
This documentation describes the Gitea API. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 1.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_action_workflow_dispatch import CreateActionWorkflowDispatch # noqa: E501
|
||||
from swagger_client.rest import ApiException
|
||||
|
||||
|
||||
class TestCreateActionWorkflowDispatch(unittest.TestCase):
|
||||
"""CreateActionWorkflowDispatch unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def testCreateActionWorkflowDispatch(self):
|
||||
"""Test CreateActionWorkflowDispatch"""
|
||||
# FIXME: construct object with mandatory attributes with example values
|
||||
# model = swagger_client.models.create_action_workflow_dispatch.CreateActionWorkflowDispatch() # 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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_branch_protection_option import CreateBranchProtectionOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_branch_repo_option import CreateBranchRepoOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_email_option import CreateEmailOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_file_options import CreateFileOptions # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_fork_option import CreateForkOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_gpg_key_option import CreateGPGKeyOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_hook_option import CreateHookOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_hook_option_config import CreateHookOptionConfig # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_issue_comment_option import CreateIssueCommentOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_issue_option import CreateIssueOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_key_option import CreateKeyOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_label_option import CreateLabelOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_milestone_option import CreateMilestoneOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_o_auth2_application_options import CreateOAuth2ApplicationOptions # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_or_update_secret_option import CreateOrUpdateSecretOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_org_option import CreateOrgOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_pull_request_option import CreatePullRequestOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_pull_review_comment import CreatePullReviewComment # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_pull_review_options import CreatePullReviewOptions # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_push_mirror_option import CreatePushMirrorOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_release_option import CreateReleaseOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_repo_option import CreateRepoOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_status_option import CreateStatusOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_tag_option import CreateTagOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_tag_protection_option import CreateTagProtectionOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_team_option import CreateTeamOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_user_option import CreateUserOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_variable_option import CreateVariableOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.create_wiki_page_options import CreateWikiPageOptions # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.cron import Cron # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.delete_email_option import DeleteEmailOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.delete_file_options import DeleteFileOptions # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.deploy_key import DeployKey # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.dismiss_pull_review_options import DismissPullReviewOptions # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_attachment_options import EditAttachmentOptions # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_branch_protection_option import EditBranchProtectionOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_deadline_option import EditDeadlineOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_git_hook_option import EditGitHookOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_hook_option import EditHookOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_issue_comment_option import EditIssueCommentOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_issue_option import EditIssueOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_label_option import EditLabelOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_milestone_option import EditMilestoneOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_org_option import EditOrgOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_pull_request_option import EditPullRequestOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_reaction_option import EditReactionOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_release_option import EditReleaseOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_repo_option import EditRepoOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_tag_protection_option import EditTagProtectionOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_team_option import EditTeamOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.edit_user_option import EditUserOption # noqa: E501
|
||||
from swagger_client.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 = swagger_client.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.25.2
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import swagger_client
|
||||
from swagger_client.models.email import Email # noqa: E501
|
||||
from swagger_client.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 = swagger_client.models.email.Email() # 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