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

PowerOutlet.feed_leg to slug (#3569)

This commit is contained in:
Jeremy Stretch
2019-11-27 21:29:58 -05:00
parent 8c7f6c62b0
commit 21fe5902a8
8 changed files with 99 additions and 28 deletions

View File

@@ -187,7 +187,7 @@ class DeviceTestCase(TestCase):
device_type=self.device_type,
name='Power Outlet 1',
power_port=ppt,
feed_leg=POWERFEED_LEG_A
feed_leg=PowerOutletFeedLegChoices.FEED_LEG_A
).save()
InterfaceTemplate(
@@ -251,7 +251,7 @@ class DeviceTestCase(TestCase):
device=d,
name='Power Outlet 1',
power_port=pp,
feed_leg=POWERFEED_LEG_A
feed_leg=PowerOutletFeedLegChoices.FEED_LEG_A
)
Interface.objects.get(