Skip to content

Commit

Permalink
Fix missed catch exception in test files
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Dec 29, 2024
1 parent c574b5a commit cb99654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/dcim/tests/test_cablepaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit cb99654

Please sign in to comment.