memos-script/test/test_webhook_service_api.py

69 lines
1.7 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.webhook_service_api import WebhookServiceApi # noqa: E501
from memos.rest import ApiException
class TestWebhookServiceApi(unittest.TestCase):
"""WebhookServiceApi unit test stubs"""
def setUp(self):
self.api = WebhookServiceApi() # noqa: E501
def tearDown(self):
pass
def test_webhook_service_create_webhook(self):
"""Test case for webhook_service_create_webhook
CreateWebhook creates a new webhook. # noqa: E501
"""
pass
def test_webhook_service_delete_webhook(self):
"""Test case for webhook_service_delete_webhook
DeleteWebhook deletes a webhook by id. # noqa: E501
"""
pass
def test_webhook_service_get_webhook(self):
"""Test case for webhook_service_get_webhook
GetWebhook returns a webhook by id. # noqa: E501
"""
pass
def test_webhook_service_list_webhooks(self):
"""Test case for webhook_service_list_webhooks
ListWebhooks returns a list of webhooks. # noqa: E501
"""
pass
def test_webhook_service_update_webhook(self):
"""Test case for webhook_service_update_webhook
UpdateWebhook updates a webhook. # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()