Skip to content

Commit 990d265

Browse files
committed
Add view argument to SearchFilterTests test cases
1 parent 1dde5ef commit 990d265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def test_search_field_with_null_characters(self):
211211
request = view.initialize_request(request)
212212

213213
with self.assertRaises(ValidationError):
214-
filters.SearchFilter().get_search_terms(request)
214+
filters.SearchFilter().get_search_terms(request, view)
215215

216216
def test_search_field_with_custom_lookup(self):
217217
class SearchListView(generics.ListAPIView):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy