Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Use correct config option for ratelimiting in tests #5185

Merged
merged 2 commits into from
May 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/5185.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update tests to consistently be configured via the same code that is used when loading from configuration files.
3 changes: 2 additions & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ def default_config(name, parse=False):
"mau_stats_only": False,
"mau_limits_reserved_threepids": [],
"admin_contact": None,
"rc_message": {"per_second": 10000, "burst_count": 10000},
"rc_messages_per_second": 10000,
"rc_message_burst_count": 10000,
"rc_registration": {"per_second": 10000, "burst_count": 10000},
"rc_login": {
"address": {"per_second": 10000, "burst_count": 10000},
Expand Down