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.comments_api import CommentsApi # noqa: E501
|
|
from elabapi_python.rest import ApiException
|
|
|
|
|
|
class TestCommentsApi(unittest.TestCase):
|
|
"""CommentsApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = CommentsApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_delete_entity_comment(self):
|
|
"""Test case for delete_entity_comment
|
|
|
|
Delete an entity comment. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_patch_entity_comment(self):
|
|
"""Test case for patch_entity_comment
|
|
|
|
Modify an entity comment. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_post_entity_comments(self):
|
|
"""Test case for post_entity_comments
|
|
|
|
Create a comment. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_entity_comment(self):
|
|
"""Test case for read_entity_comment
|
|
|
|
Read a comment of that entity. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_entity_comments(self):
|
|
"""Test case for read_entity_comments
|
|
|
|
Read all comments of that entity. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|