Revision 412048af snf-astakos-app/astakos/im/tests/auth.py
b/snf-astakos-app/astakos/im/tests/auth.py | ||
---|---|---|
384 | 384 |
@im_settings(RECAPTCHA_ENABLED=True, RATELIMIT_RETRIES_ALLOWED=3) |
385 | 385 |
def test_login_ratelimit(self): |
386 | 386 |
from django.core.cache import cache |
387 |
cache.clear() |
|
387 | 388 |
[cache.delete(key) for key in cache._cache.keys()] |
388 | 389 |
|
389 | 390 |
credentials = {'username': 'γιού τι έφ', 'password': 'password'} |
Also available in: Unified diff