diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-10-16 07:35:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 07:35:22 -0400 |
commit | e3e0ae4ab1f48974ca66a4c4e6be8019aaa38fd1 (patch) | |
tree | fdc93c73b1d80f27454c29541dd90a8b704596dd /tests | |
parent | Bump pillow from 10.0.1 to 10.1.0 (#16498) (diff) | |
download | synapse-e3e0ae4ab1f48974ca66a4c4e6be8019aaa38fd1.tar.xz |
Convert state delta processing from a dict to attrs. (#16469)
For improved type checking & memory usage.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handlers/test_typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py index 3060bc9744..d7025c6f2c 100644 --- a/tests/handlers/test_typing.py +++ b/tests/handlers/test_typing.py @@ -174,7 +174,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase): return_value=1 ) - self.datastore.get_partial_current_state_deltas = Mock(return_value=(0, None)) # type: ignore[method-assign] + self.datastore.get_partial_current_state_deltas = Mock(return_value=(0, [])) # type: ignore[method-assign] self.datastore.get_to_device_stream_token = Mock( # type: ignore[method-assign] return_value=0 |