diff --git a/tests/inputs/q-search-filter/error_filter_set.py b/tests/inputs/q-search-filter/error_filter_set.py index e5bbb16..3fdb48a 100644 --- a/tests/inputs/q-search-filter/error_filter_set.py +++ b/tests/inputs/q-search-filter/error_filter_set.py @@ -2,7 +2,7 @@ from nautobot.apps.filters import NautobotFilterSet -class MyAddressObjectFilterSet(NautobotFilterSet): +class IncorrectQFilterTypeFilterSet(NautobotFilterSet): """Filter for AddressObject.""" q = django_filters.CharFilter( diff --git a/tests/inputs/q-search-filter/error_filter_set3.py b/tests/inputs/q-search-filter/error_filter_set3.py index c4becd7..afe1006 100644 --- a/tests/inputs/q-search-filter/error_filter_set3.py +++ b/tests/inputs/q-search-filter/error_filter_set3.py @@ -2,7 +2,7 @@ from nautobot.apps.filters import NautobotFilterSet -class MyAddressObjectFilterSet(NautobotFilterSet): +class MissingQFilterFilterSet(NautobotFilterSet): """Filter for AddressObject.""" def search(self, queryset, name, value): diff --git a/tests/inputs/q-search-filter/good_filter_set.py b/tests/inputs/q-search-filter/good_filter_set.py index f8c8a7c..27e6675 100644 --- a/tests/inputs/q-search-filter/good_filter_set.py +++ b/tests/inputs/q-search-filter/good_filter_set.py @@ -1,7 +1,7 @@ from nautobot.apps.filters import NautobotFilterSet, SearchFilter -class MyAddressObjectFilterSet(NautobotFilterSet): +class ValidQFilterFilterSet(NautobotFilterSet): """Filter for AddressObject.""" q = SearchFilter( diff --git a/tests/inputs/q-search-filter/good_filter_set3.py b/tests/inputs/q-search-filter/good_filter_set3.py index f8c8a7c..e4d14e5 100644 --- a/tests/inputs/q-search-filter/good_filter_set3.py +++ b/tests/inputs/q-search-filter/good_filter_set3.py @@ -1,7 +1,7 @@ from nautobot.apps.filters import NautobotFilterSet, SearchFilter -class MyAddressObjectFilterSet(NautobotFilterSet): +class ValidQFilterWithCustomFilterPredicatesFilterSet(NautobotFilterSet): """Filter for AddressObject.""" q = SearchFilter(