Revision b8633f0c snf-astakos-app/astakos/im/tests/auth.py

b/snf-astakos-app/astakos/im/tests/auth.py
372 372
    @im_settings(RECAPTCHA_ENABLED=True, RATELIMIT_RETRIES_ALLOWED=3)
373 373
    def test_login_ratelimit(self):
374 374
        from django.core.cache import cache
375
        [cache.delete(key) for key in cache._cache.keys()]
375
        cache.clear()
376 376

  
377 377
        credentials = {'username': 'γιού τι έφ', 'password': 'password'}
378 378
        r = self.client.post(ui_url('local'), credentials, follow=True)

Also available in: Unified diff