Skip to content

Commit

Permalink
restore deleted ratelimit cmnt, re #10787
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Jul 3, 2024
1 parent e04ec23 commit 4ab7f7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/search/search_export_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def test_login_via_basic_auth_rate_limited(self):
request = RequestFactory().get(
reverse("api_export_results"),
HTTP_AUTHORIZATION=auth_string,
# In reality this would be added by django_ratelimit.
QUERY_STRING="limited=True",
)
request.user = User.objects.get(username="anonymous")
Expand Down

0 comments on commit 4ab7f7b

Please sign in to comment.