76 lines
1.9 KiB
Python
76 lines
1.9 KiB
Python
# coding: utf-8
|
|
|
|
"""
|
|
api/v2/activity_service.proto
|
|
|
|
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
|
|
OpenAPI spec version: version not set
|
|
|
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
"""
|
|
|
|
from __future__ import absolute_import
|
|
|
|
import unittest
|
|
|
|
import memos
|
|
from memos.api.resource_service_api import ResourceServiceApi # noqa: E501
|
|
from memos.rest import ApiException
|
|
|
|
|
|
class TestResourceServiceApi(unittest.TestCase):
|
|
"""ResourceServiceApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = ResourceServiceApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_resource_service_create_resource(self):
|
|
"""Test case for resource_service_create_resource
|
|
|
|
CreateResource creates a new resource. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_resource_service_delete_resource(self):
|
|
"""Test case for resource_service_delete_resource
|
|
|
|
DeleteResource deletes a resource by id. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_resource_service_get_resource(self):
|
|
"""Test case for resource_service_get_resource
|
|
|
|
GetResource returns a resource by id. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_resource_service_get_resource_by_name(self):
|
|
"""Test case for resource_service_get_resource_by_name
|
|
|
|
GetResourceByName returns a resource by name. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_resource_service_list_resources(self):
|
|
"""Test case for resource_service_list_resources
|
|
|
|
ListResources lists all resources. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_resource_service_update_resource(self):
|
|
"""Test case for resource_service_update_resource
|
|
|
|
UpdateResource updates a resource. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|