mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-16 16:52:17 -06:00
Extend filterset/model tests to cover PowerOutlet.status
This commit is contained in:
@@ -465,7 +465,8 @@ class DeviceTestCase(TestCase):
|
||||
device=device,
|
||||
name='Power Outlet 1',
|
||||
power_port=powerport,
|
||||
feed_leg=PowerOutletFeedLegChoices.FEED_LEG_A
|
||||
feed_leg=PowerOutletFeedLegChoices.FEED_LEG_A,
|
||||
status=PowerOutletStatusChoices.STATUS_ENABLED,
|
||||
)
|
||||
self.assertEqual(poweroutlet.cf['cf1'], 'foo')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user