diff --git a/tests/integration/cloud/clouds/test_vmware.py b/tests/integration/cloud/clouds/test_vmware.py index 97c88d464298..15a10c8120c9 100644 --- a/tests/integration/cloud/clouds/test_vmware.py +++ b/tests/integration/cloud/clouds/test_vmware.py @@ -110,3 +110,10 @@ def test_instant_clone(self): self.assertIn(i_clone_str, str(ret_val)) self.assertDestroyInstance() + + # now clean up snapshots and make sure re get the proper response. + ret_val = self.run_cloud("-a remove_all_snapshots cloud-tests-instant-clone") + + s_ret_str = "Removed all snapshots" + + self.assertIn(s_ret_str, str(ret_val))