From cb99654636245cb32992af2c1cb2e126987795e5 Mon Sep 17 00:00:00 2001 From: Daniel Sheppard Date: Sun, 29 Dec 2024 10:20:26 -0600 Subject: [PATCH] Fix missed catch exception in test files --- netbox/dcim/tests/test_cablepaths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/tests/test_cablepaths.py b/netbox/dcim/tests/test_cablepaths.py index b4d3ab2d42..494c8e0ed6 100644 --- a/netbox/dcim/tests/test_cablepaths.py +++ b/netbox/dcim/tests/test_cablepaths.py @@ -2306,7 +2306,7 @@ def test_401_exclude_midspan_devices(self): b_terminations=[frontport1, frontport3], label='C1' ) - with self.assertRaises(UnsupportedCablePath): + with self.assertRaises(AbortRequest): cable1.save() self.assertPathDoesNotExist(