From b2b3f388b17bdc0c6f7e219c1e664d9aa690f261 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Fri, 28 May 2021 11:15:45 -0400 Subject: [PATCH] Correct Prefix REST API test case --- netbox/ipam/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/ipam/tests/test_api.py b/netbox/ipam/tests/test_api.py index b2b4b9e8f..3036a8aa9 100644 --- a/netbox/ipam/tests/test_api.py +++ b/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',