63 lines
1.2 KiB
Python
63 lines
1.2 KiB
Python
# coding: utf-8
|
|
|
|
"""
|
|
Gitea API
|
|
|
|
This documentation describes the Gitea API. # noqa: E501
|
|
|
|
OpenAPI spec version: 1.23.1
|
|
|
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
"""
|
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
import unittest
|
|
|
|
import gitea
|
|
from gitea.api.package_api import PackageApi # noqa: E501
|
|
from gitea.rest import ApiException
|
|
|
|
|
|
class TestPackageApi(unittest.TestCase):
|
|
"""PackageApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = gitea.api.package_api.PackageApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_delete_package(self):
|
|
"""Test case for delete_package
|
|
|
|
Delete a package # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_get_package(self):
|
|
"""Test case for get_package
|
|
|
|
Gets a package # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_list_package_files(self):
|
|
"""Test case for list_package_files
|
|
|
|
Gets all files of a package # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_list_packages(self):
|
|
"""Test case for list_packages
|
|
|
|
Gets all packages of an owner # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|