We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf2e09 commit 36920fbCopy full SHA for 36920fb
netbox_acls/tests/test_models.py
@@ -277,7 +277,7 @@ def test_acl_interface_assignment_success(self):
277
)
278
device_acl.save()
279
acl_device_interface = ACLInterfaceAssignment(
280
- access_list_id=device_acl.pk,
+ access_list=device_acl,
281
direction="ingress",
282
assigned_object_id=1,
283
assigned_object_type=ContentType.objects.get_for_model(Interface),
0 commit comments