summary refs log tree commit diff
path: root/tests/handlers/test_typing.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-04-03 14:32:20 +0100
committerGitHub <noreply@github.com>2019-04-03 14:32:20 +0100
commit4a4d5c4fd6552037a8660b18360ac7e0050b873f (patch)
treef0c4256ae44418064721a27c9d403acbbdfd70f2 /tests/handlers/test_typing.py
parentRewrite KeyringTestCase as a HomeServerTestCase (#4986) (diff)
downloadsynapse-4a4d5c4fd6552037a8660b18360ac7e0050b873f.tar.xz
Fix grammar and document get_current_users_in_room (#4998)
Diffstat (limited to 'tests/handlers/test_typing.py')
-rw-r--r--tests/handlers/test_typing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py
index 6460cbc708..5a0b6c201c 100644
--- a/tests/handlers/test_typing.py
+++ b/tests/handlers/test_typing.py
@@ -121,9 +121,9 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
 
         self.datastore.get_joined_hosts_for_room = get_joined_hosts_for_room
 
-        def get_current_user_in_room(room_id):
+        def get_current_users_in_room(room_id):
             return set(str(u) for u in self.room_members)
-        hs.get_state_handler().get_current_user_in_room = get_current_user_in_room
+        hs.get_state_handler().get_current_users_in_room = get_current_users_in_room
 
         self.datastore.get_user_directory_stream_pos.return_value = (
             # we deliberately return a non-None stream pos to avoid doing an initial_spam