There was an error while loading. Please reload this page.
1 parent 9f38df9 commit cfff32aCopy full SHA for cfff32a
1 file changed
openstackclient/tests/compute/v2/test_server.py
@@ -799,6 +799,26 @@ def test_server_resume_multi_servers(self):
799
self.run_method_with_servers('resume', 3)
800
801
802
+class TestServerStart(TestServer):
803
+
804
+ def setUp(self):
805
+ super(TestServerStart, self).setUp()
806
807
+ # Get the command object to test
808
+ self.cmd = server.StartServer(self.app, None)
809
810
+ # Set methods to be tested.
811
+ self.methods = {
812
+ 'start': None,
813
+ }
814
815
+ def test_server_start_one_server(self):
816
+ self.run_method_with_servers('start', 1)
817
818
+ def test_server_start_multi_servers(self):
819
+ self.run_method_with_servers('start', 3)
820
821
822
class TestServerSuspend(TestServer):
823
824
def setUp(self):
0 commit comments