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

Fix remaining tests

This commit is contained in:
Jeremy Stretch
2024-03-06 08:33:58 -05:00
parent 16b422cbac
commit 5cb7af88d4
6 changed files with 26 additions and 6 deletions

View File

@@ -106,7 +106,11 @@ class BaseFilterSetTests:
# All other fields
else:
self.assertIn(model_field.name, filterset_fields, f'No filter found for {model_field.name}!')
self.assertIn(
model_field.name,
filterset_fields,
f'No filter found for {model_field.name} ({type(model_field)})!'
)
class ChangeLoggedFilterSetTests(BaseFilterSetTests):