cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
test_resources__admin_only_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.resources__admin_only_api import ResourcesAdminOnlyApi # noqa: E501
19 from swagger_client.rest import ApiException
20 
21 
22 class TestResourcesAdminOnlyApi(unittest.TestCase):
23  """ResourcesAdminOnlyApi unit test stubs"""
24 
25  def setUp(self):
26  self.apiapi = ResourcesAdminOnlyApi() # noqa: E501
27 
28  def tearDown(self):
29  pass
30 
32  """Test case for cf_manager_rest_api_delete_resource
33 
34  Remove a resource # noqa: E501
35  """
36  pass
37 
39  """Test case for cf_manager_rest_api_get_available_resources
40 
41  Get all cloudFPGA resources in state `{status}` # noqa: E501
42  """
43  pass
44 
46  """Test case for cf_manager_rest_api_get_resources
47 
48  Get all cloudFPGA resources # noqa: E501
49  """
50  pass
51 
53  """Test case for cf_manager_rest_api_get_resources_of_sled_status
54 
55  Get status of **all resources** from a specific sled # noqa: E501
56  """
57  pass
58 
60  """Test case for cf_manager_rest_api_get_resources_of_sled_status_in_state
61 
62  Get status of **all resources** from a specific sled in a specific `{status}` # noqa: E501
63  """
64  pass
65 
67  """Test case for cf_manager_rest_api_get_single_resource
68 
69  Get details of one resource # noqa: E501
70  """
71  pass
72 
74  """Test case for cf_manager_rest_api_get_single_resource_status
75 
76  Get status of one resource # noqa: E501
77  """
78  pass
79 
81  """Test case for cf_manager_rest_api_post_resources
82 
83  Create a cloudFPGA resource # noqa: E501
84  """
85  pass
86 
88  """Test case for cf_manager_rest_api_put_resource
89 
90  Update a resource # noqa: E501
91  """
92  pass
93 
95  """Test case for cf_manager_rest_api_put_resource_status
96 
97  Update status of a resource # noqa: E501
98  """
99  pass
100 
102  """Test case for cf_manager_rest_api_put_resources_of_sled_status
103 
104  Update status of **all resources** from a specific sled # noqa: E501
105  """
106  pass
107 
109  """Test case for cf_manager_rest_api_put_resources_of_sled_status_in_state
110 
111  Update status of **all resources** from a specific sled in a specific `{status}` # noqa: E501
112  """
113  pass
114 
115 
116 if __name__ == '__main__':
117  unittest.main()