Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
scetron committed Jul 26, 2023
1 parent 03982d7 commit 264d126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautobot_device_onboarding/tests/test_nautobot_keeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def test_ensure_custom_fields(self):
device = Device.objects.get(name="sw1")

self.assertEqual(device.cf["cf_device"], False)
self.assertEqual(device.cf["cf_device_null"], None)
self.assertEqual(device.cf.get("cf_device_null"), None)
self.assertEqual(device.platform.cf["cf_platform"], True)
self.assertEqual(device.device_type.cf["cf_devicetype"], 5)
self.assertEqual(device.device_role.cf["cf_devicerole"], 10)
Expand Down

0 comments on commit 264d126

Please sign in to comment.