cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
test_instances_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.instances_api import InstancesApi # noqa: E501
19 from swagger_client.rest import ApiException
20 
21 
22 class TestInstancesApi(unittest.TestCase):
23  """InstancesApi unit test stubs"""
24 
25  def setUp(self):
26  self.apiapi = InstancesApi() # noqa: E501
27 
28  def tearDown(self):
29  pass
30 
32  """Test case for cf_manager_rest_api_app_restart_instance
33 
34  Triggers app restart of this instance # noqa: E501
35  """
36  pass
37 
39  """Test case for cf_manager_rest_api_delete_instance
40 
41  Remove an instance # noqa: E501
42  """
43  pass
44 
46  """Test case for cf_manager_rest_api_get_instance
47 
48  Get a single instance # noqa: E501
49  """
50  pass
51 
53  """Test case for cf_manager_rest_api_get_instances
54 
55  Get all instances of a user # noqa: E501
56  """
57  pass
58 
60  """Test case for cf_manager_rest_api_instance_api_gateway
61 
62  Forwards a custom HTTP API request # noqa: E501
63  """
64  pass
65 
67  """Test case for cf_manager_rest_api_instance_change_runlevel
68 
69  Changes the `runlevel` of the instance (stack developers only) # noqa: E501
70  """
71  pass
72 
74  """Test case for cf_manager_rest_api_instance_get_runlevel
75 
76  Returns the current `runlevel` of the instance (stack developers only) # noqa: E501
77  """
78  pass
79 
81  """Test case for cf_manager_rest_api_post_instances
82 
83  Create an instance # noqa: E501
84  """
85  pass
86 
88  """Test case for cf_manager_rest_api_update_instance
89 
90  Reprogramm an instance # noqa: E501
91  """
92  pass
93 
94 
95 if __name__ == '__main__':
96  unittest.main()