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 735beb5 commit 04742e5Copy full SHA for 04742e5
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