Skip to content

Commit

Permalink
Fix failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Dec 20, 2024
1 parent 5be9af8 commit c574b5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netbox/dcim/tests/test_cablepaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from dcim.models import *
from dcim.svg import CableTraceSVG
from dcim.utils import object_to_path_node
from utilities.exceptions import AbortRequest


class CablePathTestCase(TestCase):
Expand Down Expand Up @@ -2324,7 +2325,7 @@ def test_401_exclude_midspan_devices(self):
label='C3'
)

with self.assertRaises(UnsupportedCablePath):
with self.assertRaises(AbortRequest):
cable3.save()

self.assertPathDoesNotExist(
Expand Down

0 comments on commit c574b5a

Please sign in to comment.