Merge pull request #3104 from NotAFile/py3-unittest-config

Add some more variables to the unittest config
This commit is contained in:
Richard van der Hoff 2018-04-20 15:35:58 +01:00 committed by GitHub
commit d06a9ea5f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,10 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs):
config.email_enable_notifs = False config.email_enable_notifs = False
config.block_non_admin_invites = False config.block_non_admin_invites = False
config.federation_domain_whitelist = None config.federation_domain_whitelist = None
config.federation_rc_reject_limit = 10
config.federation_rc_sleep_limit = 10
config.federation_rc_concurrent = 10
config.filter_timeline_limit = 5000
config.user_directory_search_all_users = False config.user_directory_search_all_users = False
# disable user directory updates, because they get done in the # disable user directory updates, because they get done in the