Fix missed catch exception in test files

This commit is contained in:
Daniel Sheppard 2024-12-29 10:20:26 -06:00
parent c574b5a613
commit cb99654636

View File

@ -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(