69 lines
1.7 KiB
Python
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.auth_service_api import AuthServiceApi # noqa: E501
|
|
from memos.rest import ApiException
|
|
|
|
|
|
class TestAuthServiceApi(unittest.TestCase):
|
|
"""AuthServiceApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = AuthServiceApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_auth_service_get_auth_status(self):
|
|
"""Test case for auth_service_get_auth_status
|
|
|
|
GetAuthStatus returns the current auth status of the user. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_auth_service_sign_in(self):
|
|
"""Test case for auth_service_sign_in
|
|
|
|
SignIn signs in the user with the given username and password. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_auth_service_sign_in_with_sso(self):
|
|
"""Test case for auth_service_sign_in_with_sso
|
|
|
|
SignInWithSSO signs in the user with the given SSO code. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_auth_service_sign_out(self):
|
|
"""Test case for auth_service_sign_out
|
|
|
|
SignOut signs out the user. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_auth_service_sign_up(self):
|
|
"""Test case for auth_service_sign_up
|
|
|
|
SignUp signs up the user with the given username and password. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|