Ver código fonte

Correct Prefix REST API test case

jeremystretch 4 anos atrás
pai
commit
b2b3f388b1
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      netbox/ipam/tests/test_api.py

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

@@ -186,7 +186,7 @@ class RoleTest(APIViewTestCases.APIViewTestCase):
 
 class PrefixTest(APIViewTestCases.APIViewTestCase):
     model = Prefix
-    brief_fields = ['display', 'family', 'id', 'prefix', 'url']
+    brief_fields = ['_depth', 'display', 'family', 'id', 'prefix', 'url']
     create_data = [
         {
             'prefix': '192.168.4.0/24',