1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

9856 test fix vpn

This commit is contained in:
Arthur
2024-03-06 14:00:53 -08:00
parent 0ca46e349f
commit 1052ea5dd4
2 changed files with 6 additions and 3 deletions

View File

@ -454,7 +454,7 @@ class APIViewTestCases:
"""
print(f"field_name: {field.name} type: {field.type}")
if field.name == 'front_image':
if field.name == 'assigned_object':
breakpoint()
pass
"""
@ -467,6 +467,9 @@ class APIViewTestCases:
elif type(field.type) is StrawberryList and type(field.type.of_type) is StrawberryUnion:
# this would require a fragment query
continue
elif type(field.type) is StrawberryUnion:
# this would require a fragment query
continue
elif field.type is strawberry_django.fields.types.DjangoModelType:
# Dynamic fields must specify a subselection
fields_string += f'{field.name} {{ pk }}\n'