diff --git a/netbox/dcim/tests/test_cablepaths.py b/netbox/dcim/tests/test_cablepaths.py index b4d3ab2d4..494c8e0ed 100644 --- a/netbox/dcim/tests/test_cablepaths.py +++ b/netbox/dcim/tests/test_cablepaths.py @@ -2306,7 +2306,7 @@ class CablePathTestCase(TestCase): b_terminations=[frontport1, frontport3], label='C1' ) - with self.assertRaises(UnsupportedCablePath): + with self.assertRaises(AbortRequest): cable1.save() self.assertPathDoesNotExist(