Invert assertion to test for instance gone

This commit is contained in:
Tyler Johnson 2019-08-20 23:47:16 -06:00
parent 82136a8369
commit ff2125ae67
No known key found for this signature in database
GPG key ID: 691E31397E27D004

View file

@ -123,7 +123,7 @@ class CloudTest(ShellCase):
return
# It's not clear from the delete string that deletion was successful, ask salt-cloud after a delay
sleep(shutdown_delay)
self.assertIn(self.instance_name, self.query_instances())
self.assertNotIn(self.instance_name, self.query_instances())
@property
def instance_name(self):