1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Clean up cable termination changes

This commit is contained in:
jeremystretch
2022-06-03 14:15:28 -04:00
parent 537383e071
commit 0b0a646f87
4 changed files with 17 additions and 29 deletions

View File

@@ -1754,6 +1754,7 @@ class CablePathTestCase(TestCase):
self.assertEqual(CablePath.objects.count(), 2)
# Change cable 2's status to "planned"
cable2 = Cable.objects.get(pk=cable2.pk) # Rebuild object to ditch A/B terminations set earlier
cable2.status = LinkStatusChoices.STATUS_PLANNED
cable2.save()
self.assertPathExists(