diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-09-08 14:26:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-08 14:26:47 +0100 |
commit | 2117c409a01231de146eb38330e3941ea2564e4a (patch) | |
tree | 806152a98d66013b94882c85cb1cb6129be62e78 /tests | |
parent | Log delta files we're applying (diff) | |
parent | Merge branch 'develop' into markjh/direct_to_device_federation (diff) | |
download | synapse-2117c409a01231de146eb38330e3941ea2564e4a.tar.xz |
Merge pull request #1074 from matrix-org/markjh/direct_to_device_federation
Send device messages over federation
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handlers/test_typing.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py index b2957eef9f..ea1f0f7c33 100644 --- a/tests/handlers/test_typing.py +++ b/tests/handlers/test_typing.py @@ -121,6 +121,14 @@ class TypingNotificationsTestCase(unittest.TestCase): self.auth.check_joined_room = check_joined_room + self.datastore.get_to_device_stream_token = lambda: 0 + self.datastore.get_new_device_msgs_for_remote = ( + lambda *args, **kargs: ([], 0) + ) + self.datastore.delete_device_msgs_for_remote = ( + lambda *args, **kargs: None + ) + # Some local users to test with self.u_apple = UserID.from_string("@apple:test") self.u_banana = UserID.from_string("@banana:test") |