Initial version
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
# 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.experiments_api import ExperimentsApi # noqa: E501
|
||||
from elabapi_python.rest import ApiException
|
||||
|
||||
|
||||
class TestExperimentsApi(unittest.TestCase):
|
||||
"""ExperimentsApi unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
self.api = ExperimentsApi() # noqa: E501
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def test_delete_experiment(self):
|
||||
"""Test case for delete_experiment
|
||||
|
||||
Delete an experiment. # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_get_experiment(self):
|
||||
"""Test case for get_experiment
|
||||
|
||||
Read an experiment # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_patch_experiment(self):
|
||||
"""Test case for patch_experiment
|
||||
|
||||
Modify an experiment # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_post_experiment(self):
|
||||
"""Test case for post_experiment
|
||||
|
||||
Create an experiment # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_post_experiment_by_id(self):
|
||||
"""Test case for post_experiment_by_id
|
||||
|
||||
Duplicate an experiment with its ID # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
def test_read_experiments(self):
|
||||
"""Test case for read_experiments
|
||||
|
||||
Read all experiments that are accessible # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user