Correct Prefix REST API test case

This commit is contained in:
jeremystretch 2021-05-28 11:15:45 -04:00
parent 110a6d11a5
commit b2b3f388b1

View File

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