diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2020-08-26 15:07:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-26 15:07:35 +0100 |
commit | e0d6244beb0165417a2817f8b36c828ad22f8dbd (patch) | |
tree | cf4934ef17846575a55d934145881c55c949dea5 /tests/rest/client/test_retention.py | |
parent | Add required Debian dependencies to allow docker builds on the arm platform (... (diff) | |
download | synapse-e0d6244beb0165417a2817f8b36c828ad22f8dbd.tar.xz |
Remove unused parameter from, and add safeguard in, get_room_data (#8174)
Small cleanup PR. * Removed the unused `is_guest` argument * Added a safeguard to a (currently) impossible code path, fixing static checking at the same time.
Diffstat (limited to 'tests/rest/client/test_retention.py')
-rw-r--r-- | tests/rest/client/test_retention.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_retention.py b/tests/rest/client/test_retention.py index d4e7fa1293..7d3773ff78 100644 --- a/tests/rest/client/test_retention.py +++ b/tests/rest/client/test_retention.py @@ -178,7 +178,7 @@ class RetentionTestCase(unittest.HomeserverTestCase): message_handler = self.hs.get_message_handler() create_event = self.get_success( message_handler.get_room_data( - self.user_id, room_id, EventTypes.Create, state_key="", is_guest=False + self.user_id, room_id, EventTypes.Create, state_key="" ) ) |