diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-05-22 12:01:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 12:01:43 +0100 |
commit | 3b2def6c7a83584d064d550cf5a1df4320f19922 (patch) | |
tree | 7cce87b9e5550e8d041030a518060e0f2f212614 /tests/utils.py | |
parent | Merge pull request #3236 from matrix-org/rav/consent_notice (diff) | |
parent | Reject attempts to send event before privacy consent is given (diff) | |
download | synapse-3b2def6c7a83584d064d550cf5a1df4320f19922.tar.xz |
Merge pull request #3257 from matrix-org/rav/fonx_on_no_consent
Reject attempts to send event before privacy consent is given
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py index 9626e6fd78..262c4a5714 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -64,6 +64,7 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs): config.filter_timeline_limit = 5000 config.user_directory_search_all_users = False config.user_consent_server_notice_content = None + config.block_events_without_consent_error = None # disable user directory updates, because they get done in the # background, which upsets the test runner. |