mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 08:25:17 -06:00
9478 fix tests
This commit is contained in:
parent
f7c660572e
commit
94c5f7faf0
@ -451,6 +451,7 @@ class APIViewTestCases:
|
||||
# Dynamic fields must specify a subselection
|
||||
fields_string += f'{field_name} {{ id }}\n'
|
||||
elif type(field.type) is GQLList and inspect.isclass(field.type.of_type) and issubclass(field.type.of_type, GQLUnion):
|
||||
# Union types dont' have an id or consistent values
|
||||
continue
|
||||
elif type(field.type) is GQLList and field_name != 'choices':
|
||||
# TODO: Come up with something more elegant
|
||||
|
Loading…
Reference in New Issue
Block a user