Explorar o código

#7336: Correct API test

Jeremy Stretch hai 1 ano
pai
achega
b45b8f3a4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      netbox/ipam/tests/test_api.py

+ 1 - 1
netbox/ipam/tests/test_api.py

@@ -1080,7 +1080,7 @@ class VLANTranslationPolicyTest(APIViewTestCases.APIViewTestCase):
 
 class VLANTranslationRuleTest(APIViewTestCases.APIViewTestCase):
     model = VLANTranslationRule
-    brief_fields = ['id', 'local_vid', 'policy', 'remote_vid',]
+    brief_fields = ['description', 'display', 'id', 'local_vid', 'policy', 'remote_vid', 'url']
 
     @classmethod
     def setUpTestData(cls):