Revert "Don't fail if cleanup happens in the teardown"

This reverts commit b77a99bd3c.
This commit is contained in:
Tyler Johnson 2020-04-30 10:27:12 -06:00 committed by Daniel Wozniak
parent 0f4cce0ae6
commit 1340126b9e

View file

@ -316,14 +316,10 @@ class CloudTest(ShellCase):
instance, alt_destroy_message
)
)
if not success:
log.error("\n".join(fail_messages))
# self.assertTrue(success, "\n".join(fail_messages))
if alt_names:
log.error("Cleanup should happen in the test, not the TearDown")
#self.assertFalse(
# alt_names, "Cleanup should happen in the test, not the TearDown"
#)
self.assertTrue(success, "\n".join(fail_messages))
self.assertFalse(
alt_names, "Cleanup should happen in the test, not the TearDown"
)
@classmethod
def tearDownClass(cls):