55 lines
1.1 KiB
Python
55 lines
1.1 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.d_space_api import DSpaceApi # noqa: E501
|
|
from elabapi_python.rest import ApiException
|
|
|
|
|
|
class TestDSpaceApi(unittest.TestCase):
|
|
"""DSpaceApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = DSpaceApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_dspace_create(self):
|
|
"""Test case for dspace_create
|
|
|
|
Create a new DSpace workspace item. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_dspace_read(self):
|
|
"""Test case for dspace_read
|
|
|
|
Read DSpace information. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_dspace_submit(self):
|
|
"""Test case for dspace_submit
|
|
|
|
Submit an eLabFTW entry to DSpace. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|