introduce a test that should also clean up snapshots in vmware tests

This commit is contained in:
Thomas Phipps 2022-08-18 18:07:41 +00:00 committed by Megan Wilhite
parent f02851e556
commit d5dec79fa7

View file

@ -110,3 +110,10 @@ class VMWareTest(CloudTest):
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))