We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3305f97 commit 7b99438Copy full SHA for 7b99438
test/test_liveserver.py
@@ -75,6 +75,10 @@ def setup_class(cls):
75
cls.db.config.MAIL_DEBUG = "../_test_tracker_mail.log"
76
cls.db.config.WEB_CSRF_ENFORCE_HEADER_ORIGIN = "required"
77
cls.db.config.WEB_ALLOWED_API_ORIGINS = "https://client.com"
78
+
79
+ # disable web login rate limiting. The fast rate of tests
80
+ # causes them to trip the rate limit and fail.
81
+ cls.db.config.WEB_LOGIN_ATTEMPTS_MIN = 0
82
83
cls.db.config['WEB_CSRF_ENFORCE_HEADER_X-REQUESTED-WITH'] = "required"
84
0 commit comments