Initial version
This commit is contained in:
+61
@@ -0,0 +1,61 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
eLabFTW REST API v2 Documentation
|
||||
|
||||
This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
|
||||
|
||||
OpenAPI spec version: 2.0.0
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
import elabapi_python
|
||||
from elabapi_python.api.users_api import UsersApi # noqa: E501
|
||||
from elabapi_python.rest import ApiException
|
||||
|
||||
|
||||
class TestUsersApi(unittest.TestCase):
|
||||
"""UsersApi unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
self.api = UsersApi() # noqa: E501
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def test_patch_user(self):
|
||||
"""Test case for patch_user
|
||||
|
||||
Modify a user. # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_post_user(self):
|
||||
"""Test case for post_user
|
||||
|
||||
Create a new user. # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_read_user(self):
|
||||
"""Test case for read_user
|
||||
|
||||
Read information of a user. # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_read_users(self):
|
||||
"""Test case for read_users
|
||||
|
||||
Read users from instance. # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user