mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Fixed pylint errors and temporary print statements
This commit is contained in:
parent
fd13ce1db4
commit
9454f4cad9
@ -108,4 +108,3 @@ class DimensionDataTest(CloudTest):
|
||||
)
|
||||
|
||||
self._destroy_instance()
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user