summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-01-24 15:51:59 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-01-24 15:51:59 +0000
commit08e25ffa0cbbaee0a092f95648b4529ff081d56f (patch)
tree193be1b1dd6f0c7d628ee99b14cfec413685b9f9 /tests/utils.py
parentMerge branch 'anoa/room_dir_quick_fix' into matrix-org-hotfixes (diff)
parentMerge pull request #4461 from matrix-org/anoa/room_dir_quick_fix (diff)
downloadsynapse-08e25ffa0cbbaee0a092f95648b4529ff081d56f.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py

index 08d6faa0a6..df73c539c3 100644 --- a/tests/utils.py +++ b/tests/utils.py
@@ -154,7 +154,9 @@ def default_config(name): config.update_user_directory = False def is_threepid_reserved(threepid): - return ServerConfig.is_threepid_reserved(config, threepid) + return ServerConfig.is_threepid_reserved( + config.mau_limits_reserved_threepids, threepid + ) config.is_threepid_reserved.side_effect = is_threepid_reserved