mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
remove unnecessary try/except block
This commit is contained in:
parent
c329ced7ee
commit
951d09ca2f
1 changed files with 1 additions and 4 deletions
|
@ -149,10 +149,7 @@ class EC2Test(ShellCase):
|
|||
ret_str = ' shutting-down'
|
||||
|
||||
# check if deletion was performed appropriately
|
||||
try:
|
||||
self.assertIn(ret_str, delete)
|
||||
except AssertionError:
|
||||
raise
|
||||
self.assertIn(ret_str, delete)
|
||||
|
||||
def tearDown(self):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue