mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 18:08:38 -06:00
Fix missed catch exception in test files
This commit is contained in:
parent
c574b5a613
commit
cb99654636
@ -2306,7 +2306,7 @@ class CablePathTestCase(TestCase):
|
|||||||
b_terminations=[frontport1, frontport3],
|
b_terminations=[frontport1, frontport3],
|
||||||
label='C1'
|
label='C1'
|
||||||
)
|
)
|
||||||
with self.assertRaises(UnsupportedCablePath):
|
with self.assertRaises(AbortRequest):
|
||||||
cable1.save()
|
cable1.save()
|
||||||
|
|
||||||
self.assertPathDoesNotExist(
|
self.assertPathDoesNotExist(
|
||||||
|
Loading…
Reference in New Issue
Block a user