125 lines
2.5 KiB
Python
125 lines
2.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.idps_api import IdpsApi # noqa: E501
|
|
from elabapi_python.rest import ApiException
|
|
|
|
|
|
class TestIdpsApi(unittest.TestCase):
|
|
"""IdpsApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = IdpsApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_delete_idp(self):
|
|
"""Test case for delete_idp
|
|
|
|
Delete an idp. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_delete_idp_cert(self):
|
|
"""Test case for delete_idp_cert
|
|
|
|
Delete an idp cert. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_delete_idp_endpoint(self):
|
|
"""Test case for delete_idp_endpoint
|
|
|
|
Delete an idp endpoint. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_patch_idp(self):
|
|
"""Test case for patch_idp
|
|
|
|
Actions on an idp. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_post_idp(self):
|
|
"""Test case for post_idp
|
|
|
|
Create an idp. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_post_idp_cert(self):
|
|
"""Test case for post_idp_cert
|
|
|
|
Add a cert to this IdP. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_post_idp_endpoint(self):
|
|
"""Test case for post_idp_endpoint
|
|
|
|
Add an endpoint to this IdP. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_idp(self):
|
|
"""Test case for read_idp
|
|
|
|
Read an idp. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_idp_cert(self):
|
|
"""Test case for read_idp_cert
|
|
|
|
Read a cert for an IdP. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_idp_certs(self):
|
|
"""Test case for read_idp_certs
|
|
|
|
Read all certs for an IdP. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_idp_endpoint(self):
|
|
"""Test case for read_idp_endpoint
|
|
|
|
Read an endpoint for an IdP. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_idp_endpoints(self):
|
|
"""Test case for read_idp_endpoints
|
|
|
|
Read all endpoints for an IdP. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_read_idps(self):
|
|
"""Test case for read_idps
|
|
|
|
Read all IDPs. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|