rate_limiter: Set RATE_LIMITING_RULES rules to empty in test_settings.

This makes the state cleaner for the tests. Tests that want to have rate
limiting set up their own desired rules anyway, and having some
pre-existing ones from the default settings can conflict with the
desired ones.
This commit is contained in:
Mateusz Mandera 2019-12-30 21:09:45 +01:00 committed by Tim Abbott
parent bf89cf2b4b
commit 0f61d590cc
1 changed files with 5 additions and 0 deletions

View File

@ -219,3 +219,8 @@ SOCIAL_AUTH_SAML_ENABLED_IDPS = {
"display_name": "Test IdP",
}
}
RATE_LIMITING_RULES = {
'api_by_user': [],
'authenticate': [],
}