69 lines
1.4 KiB
Python
69 lines
1.4 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.events_api import EventsApi # noqa: E501
|
|
from elabapi_python.rest import ApiException
|
|
|
|
|
|
class TestEventsApi(unittest.TestCase):
|
|
"""EventsApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = EventsApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_delete_event(self):
|
|
"""Test case for delete_event
|
|
|
|
Delete a booking slot. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_patch_event(self):
|
|
"""Test case for patch_event
|
|
|
|
Modify a booking slot. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_post_events(self):
|
|
"""Test case for post_events
|
|
|
|
Create an event for the item specified as id. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_event(self):
|
|
"""Test case for read_event
|
|
|
|
Read a booking slot. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_events(self):
|
|
"""Test case for read_events
|
|
|
|
Read all events in the team. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|