diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-14 12:37:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-14 12:37:59 -0400 |
commit | ac77cdb64e50c9fdfc00cccbc7b96f42057aa741 (patch) | |
tree | ac110f53cc585a558b91d834b59611eef54bde22 /tests/unittest.py | |
parent | Convert pusher databases to async/await. (#8075) (diff) | |
download | synapse-ac77cdb64e50c9fdfc00cccbc7b96f42057aa741.tar.xz |
Add a shadow-banned flag to users. (#8092)
Diffstat (limited to '')
-rw-r--r-- | tests/unittest.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/unittest.py b/tests/unittest.py index d0bba3ddef..7b80999a74 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -250,7 +250,11 @@ class HomeserverTestCase(TestCase): async def get_user_by_req(request, allow_guest=False, rights="access"): return create_requester( - UserID.from_string(self.helper.auth_user_id), 1, False, None + UserID.from_string(self.helper.auth_user_id), + 1, + False, + False, + None, ) self.hs.get_auth().get_user_by_req = get_user_by_req @@ -540,7 +544,7 @@ class HomeserverTestCase(TestCase): """ event_creator = self.hs.get_event_creation_handler() secrets = self.hs.get_secrets() - requester = Requester(user, None, False, None, None) + requester = Requester(user, None, False, False, None, None) event, context = self.get_success( event_creator.create_event( |