69 lines
1.5 KiB
Python
69 lines
1.5 KiB
Python
# 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.storage_units_api import StorageUnitsApi # noqa: E501
|
|
from elabapi_python.rest import ApiException
|
|
|
|
|
|
class TestStorageUnitsApi(unittest.TestCase):
|
|
"""StorageUnitsApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = StorageUnitsApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_delete_storage_unit(self):
|
|
"""Test case for delete_storage_unit
|
|
|
|
Delete a storage unit. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_patch_storage_unit(self):
|
|
"""Test case for patch_storage_unit
|
|
|
|
Modify a storage unit. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_post_storage_unit(self):
|
|
"""Test case for post_storage_unit
|
|
|
|
Create a new storage unit. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_storage_unit(self):
|
|
"""Test case for read_storage_unit
|
|
|
|
Read a storage unit. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_storage_units(self):
|
|
"""Test case for read_storage_units
|
|
|
|
Read all containers, or the storage unit hierarchy when `?hierarchy=true`. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|