From 3d18f44ed7bf9fcc957c8ec479fe8357f178cbb7 Mon Sep 17 00:00:00 2001 From: Daniel Sheppard Date: Mon, 16 Sep 2024 16:20:40 -0500 Subject: [PATCH] Fix test data for form test --- netbox_routing/tests/test_forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',