Admin API for creating new users (#3415)

This commit is contained in:
Amber Brown 2018-07-20 22:41:13 +10:00 committed by GitHub
parent 7044af3298
commit e1a237eaab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 569 additions and 3 deletions

View file

@ -71,6 +71,8 @@ def setup_test_homeserver(name="test", datastore=None, config=None, reactor=None
config.user_directory_search_all_users = False
config.user_consent_server_notice_content = None
config.block_events_without_consent_error = None
config.media_storage_providers = []
config.auto_join_rooms = []
# disable user directory updates, because they get done in the
# background, which upsets the test runner.
@ -136,6 +138,7 @@ def setup_test_homeserver(name="test", datastore=None, config=None, reactor=None
database_engine=db_engine,
room_list_handler=object(),
tls_server_context_factory=Mock(),
reactor=reactor,
**kargs
)