From e6c9e13047ad4c83d25a79060e0ff4d493e06ba3 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 22 Nov 2023 11:52:47 -0500 Subject: [PATCH] Workaround for test failure --- netbox/vpn/tests/test_views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netbox/vpn/tests/test_views.py b/netbox/vpn/tests/test_views.py index 88803d921..c0c22d1ec 100644 --- a/netbox/vpn/tests/test_views.py +++ b/netbox/vpn/tests/test_views.py @@ -65,6 +65,8 @@ class TunnelTestCase(ViewTestCases.PrimaryObjectViewTestCase): class TunnelTerminationTestCase(ViewTestCases.PrimaryObjectViewTestCase): model = TunnelTermination + # TODO: Workaround for conflict between form field and GFK + validation_excluded_fields = ('interface',) @classmethod def setUpTestData(cls): @@ -112,7 +114,6 @@ class TunnelTerminationTestCase(ViewTestCases.PrimaryObjectViewTestCase): 'role': TunnelTerminationRoleChoices.ROLE_PEER, 'type': TunnelTerminationTypeChoices.TYPE_DEVICE, 'parent': device.pk, - # TODO: Solve for GFK validation 'interface': interfaces[6].pk, 'tags': [t.pk for t in tags], }