cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
Return to the generic documentation of cloudFPGA
test_projects_api.py
Go to the documentation of this file.
1
# coding: utf-8
2
3
"""
4
cloudFPGA Resource Manager API
5
6
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
8
OpenAPI spec version: 0.8
9
10
Generated by: https://github.com/swagger-api/swagger-codegen.git
11
"""
12
13
from
__future__
import
absolute_import
14
15
import
unittest
16
17
import
swagger_client
18
from
swagger_client.api.projects_api
import
ProjectsApi
# noqa: E501
19
from
swagger_client.rest
import
ApiException
20
21
22
class
TestProjectsApi
(unittest.TestCase):
23
"""ProjectsApi unit test stubs"""
24
25
def
setUp
(self):
26
self.
api
api =
ProjectsApi
()
# noqa: E501
27
28
def
tearDown
(self):
29
pass
30
31
def
test_cf_manager_rest_api_get_project_quota
(self):
32
"""Test case for cf_manager_rest_api_get_project_quota
33
34
Get the current quota of a project # noqa: E501
35
"""
36
pass
37
38
def
test_cf_manager_rest_api_list_projects
(self):
39
"""Test case for cf_manager_rest_api_list_projects
40
41
List the projects the user belongs to # noqa: E501
42
"""
43
pass
44
45
def
test_cf_manager_rest_api_post_project_quota
(self):
46
"""Test case for cf_manager_rest_api_post_project_quota
47
48
Post a new (or update existent) quota of a project (admin only) # noqa: E501
49
"""
50
pass
51
52
53
if
__name__ ==
'__main__'
:
54
unittest.main()
cFSPlib.python_api_client.swagger_client.api.projects_api.ProjectsApi
Definition:
projects_api.py:23
cFSPlib.python_api_client.test.test_projects_api.TestProjectsApi
Definition:
test_projects_api.py:22
cFSPlib.python_api_client.test.test_projects_api.TestProjectsApi.test_cf_manager_rest_api_post_project_quota
def test_cf_manager_rest_api_post_project_quota(self)
Definition:
test_projects_api.py:45
cFSPlib.python_api_client.test.test_projects_api.TestProjectsApi.test_cf_manager_rest_api_get_project_quota
def test_cf_manager_rest_api_get_project_quota(self)
Definition:
test_projects_api.py:31
cFSPlib.python_api_client.test.test_projects_api.TestProjectsApi.setUp
def setUp(self)
Definition:
test_projects_api.py:25
cFSPlib.python_api_client.test.test_projects_api.TestProjectsApi.tearDown
def tearDown(self)
Definition:
test_projects_api.py:28
cFSPlib.python_api_client.test.test_projects_api.TestProjectsApi.api
api
Definition:
test_projects_api.py:26
cFSPlib.python_api_client.test.test_projects_api.TestProjectsApi.test_cf_manager_rest_api_list_projects
def test_cf_manager_rest_api_list_projects(self)
Definition:
test_projects_api.py:38
repos_for_Dox
cFSP
cFSPlib
python_api_client
test
test_projects_api.py
Generated on Sat Jul 15 2023 05:03:01 for cloudFPGA (cF) API by
1.9.1