소스 검색

#7336: Correct API test

Jeremy Stretch 1 년 전
부모
커밋
b45b8f3a4d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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):