mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
remove bad extra test assertion inside exception handler
This commit is contained in:
parent
e1e5d874ba
commit
eb605867c6
@ -236,7 +236,8 @@ class NetworkTestCase(TestCase):
|
||||
self.assertEqual((host, port), assertion_value)
|
||||
except Exception as e:
|
||||
log.debug("Exception parsing '%s'", host_port)
|
||||
self.assertFalse(e)
|
||||
raise e
|
||||
|
||||
for host_port in bad_host_ports:
|
||||
self.assertRaises(ValueError, network.parse_host_port, host_port)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user