153 lines
3.9 KiB
Python
153 lines
3.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.memo_service_api import MemoServiceApi # noqa: E501
|
|
from memos.rest import ApiException
|
|
|
|
|
|
class TestMemoServiceApi(unittest.TestCase):
|
|
"""MemoServiceApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = MemoServiceApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_memo_service_create_memo(self):
|
|
"""Test case for memo_service_create_memo
|
|
|
|
CreateMemo creates a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_create_memo_comment(self):
|
|
"""Test case for memo_service_create_memo_comment
|
|
|
|
CreateMemoComment creates a comment for a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_delete_memo(self):
|
|
"""Test case for memo_service_delete_memo
|
|
|
|
DeleteMemo deletes a memo by id. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_delete_memo_reaction(self):
|
|
"""Test case for memo_service_delete_memo_reaction
|
|
|
|
DeleteMemoReaction deletes a reaction for a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_export_memos(self):
|
|
"""Test case for memo_service_export_memos
|
|
|
|
ExportMemos exports memos. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_get_memo(self):
|
|
"""Test case for memo_service_get_memo
|
|
|
|
GetMemo gets a memo by id. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_get_memo_by_name(self):
|
|
"""Test case for memo_service_get_memo_by_name
|
|
|
|
GetMemoByName gets a memo by name. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_get_user_memos_stats(self):
|
|
"""Test case for memo_service_get_user_memos_stats
|
|
|
|
GetUserMemosStats gets stats of memos for a user. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_list_memo_comments(self):
|
|
"""Test case for memo_service_list_memo_comments
|
|
|
|
ListMemoComments lists comments for a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_list_memo_reactions(self):
|
|
"""Test case for memo_service_list_memo_reactions
|
|
|
|
ListMemoReactions lists reactions for a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_list_memo_relations(self):
|
|
"""Test case for memo_service_list_memo_relations
|
|
|
|
ListMemoRelations lists relations for a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_list_memo_resources(self):
|
|
"""Test case for memo_service_list_memo_resources
|
|
|
|
ListMemoResources lists resources for a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_list_memos(self):
|
|
"""Test case for memo_service_list_memos
|
|
|
|
ListMemos lists memos with pagination and filter. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_set_memo_relations(self):
|
|
"""Test case for memo_service_set_memo_relations
|
|
|
|
SetMemoRelations sets relations for a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_set_memo_resources(self):
|
|
"""Test case for memo_service_set_memo_resources
|
|
|
|
SetMemoResources sets resources for a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_update_memo(self):
|
|
"""Test case for memo_service_update_memo
|
|
|
|
UpdateMemo updates a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_memo_service_upsert_memo_reaction(self):
|
|
"""Test case for memo_service_upsert_memo_reaction
|
|
|
|
UpsertMemoReaction upserts a reaction for a memo. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|