Fixed pylint errors and temporary print statements

This commit is contained in:
Tyler Johnson 2019-08-07 14:37:27 -06:00
parent fd13ce1db4
commit 9454f4cad9
No known key found for this signature in database
GPG Key ID: 691E31397E27D004
2 changed files with 4 additions and 3 deletions

View File

@ -108,4 +108,3 @@ class DimensionDataTest(CloudTest):
)
self._destroy_instance()

View File

@ -32,11 +32,13 @@ class CloudTest(ShellCase):
# example response: ['gce-config:', '----------', ' gce:', '----------', 'cloud-test-dq4e6c:', 'True', '']
delete_str = ''.join(delete)
print('e' * 100)
print(delete_str)
# TODO assert that 'shutting-down' will be in the delete_str?
if 'shutting-down' in delete_str:
log.debug('Instance "{}" was deleted properly'.format(self.INSTANCE_NAME))
print('Instance "{}" was deleted properly'.format(self.INSTANCE_NAME))
else:
log.warning('Instance "{}" was not deleted'.format(self.INSTANCE_NAME))
print('Instance "{}" was not deleted'.format(self.INSTANCE_NAME))
self.assertEqual(self._instance_exists(), False)
def tearDown(self):