There was an error while loading. Please reload this page.
1 parent 569ff3d commit 7886fddCopy full SHA for 7886fdd
1 file changed
openstackclient/tests/compute/v2/test_server.py
@@ -759,6 +759,26 @@ def test_server_resize_revert(self):
759
)
760
761
762
+class TestServerUnpause(TestServer):
763
+
764
+ def setUp(self):
765
+ super(TestServerUnpause, self).setUp()
766
767
+ # Get the command object to test
768
+ self.cmd = server.UnpauseServer(self.app, None)
769
770
+ # Set methods to be tested.
771
+ self.methods = {
772
+ 'unpause': None,
773
+ }
774
775
+ def test_server_unpause_one_server(self):
776
+ self.run_method_with_servers('unpause', 1)
777
778
+ def test_server_unpause_multi_servers(self):
779
+ self.run_method_with_servers('unpause', 3)
780
781
782
class TestServerGeneral(testtools.TestCase):
783
OLD = {
784
'private': [
0 commit comments