diff --git a/netbox_routing/tests/test_forms.py b/netbox_routing/tests/test_forms.py index b608a39..f1de860 100644 --- a/netbox_routing/tests/test_forms.py +++ b/netbox_routing/tests/test_forms.py @@ -16,7 +16,7 @@ def setUpTestData(cls): def test_staticroute(self): form = StaticRouteForm(data={ 'name': 'Route 1', - 'device': Device.objects.first().pk, + 'devices': [Device.objects.first().pk], 'vrf': None, 'prefix': '0.0.0.0/0', 'next_hop': '10.10.10.1',