76 lines
1.7 KiB
Python
76 lines
1.7 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.uploads_api import UploadsApi # noqa: E501
|
|
from elabapi_python.rest import ApiException
|
|
|
|
|
|
class TestUploadsApi(unittest.TestCase):
|
|
"""UploadsApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = UploadsApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_delete_upload(self):
|
|
"""Test case for delete_upload
|
|
|
|
Delete an upload. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_patch_upload(self):
|
|
"""Test case for patch_upload
|
|
|
|
Modify attributes such as \"real_name\", \"comment\" or \"state\" of an upload. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_post_upload(self):
|
|
"""Test case for post_upload
|
|
|
|
Create an upload. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_post_upload_replace(self):
|
|
"""Test case for post_upload_replace
|
|
|
|
Replace an existing uploaded file. The existing file will be archived and the new one will be added. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_upload(self):
|
|
"""Test case for read_upload
|
|
|
|
Read an upload. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_uploads(self):
|
|
"""Test case for read_uploads
|
|
|
|
Read attached files of that entity. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|