diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-15 17:42:21 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-15 17:42:21 +0100 |
commit | f5fca6f78789e1f9711924fd4dad29c8c12b692f (patch) | |
tree | c1afe59e8702670a2a58088383ca828a24e14d60 /tests/utils.py | |
parent | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor (diff) | |
download | synapse-f5fca6f78789e1f9711924fd4dad29c8c12b692f.tar.xz |
Fix some of the tests to reflect changes in the storage layer.
Diffstat (limited to '')
-rw-r--r-- | tests/utils.py | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/tests/utils.py b/tests/utils.py index 20a63316fd..717b81e6ee 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -221,34 +221,14 @@ class MemoryDataStore(object): content=content) self.paths_to_content[path] = data - def get_message_stream(self, user_id=None, from_key=None, to_key=None, + def get_room_events_stream(self, user_id=None, from_key=None, to_key=None, room_id=None, limit=0, with_feedback=False): return ([], from_key) # TODO - def get_room_member_stream(self, user_id=None, from_key=None, to_key=None): - return ([], from_key) # TODO - - def get_feedback_stream(self, user_id=None, from_key=None, to_key=None, - room_id=None, limit=0): - return ([], from_key) # TODO - - def get_room_data_stream(self, user_id=None, from_key=None, to_key=None, - room_id=None, limit=0): - return ([], from_key) # TODO - def to_events(self, data_store_list): return data_store_list # TODO - def get_max_message_id(self): - return 0 # TODO - - def get_max_feedback_id(self): - return 0 # TODO - - def get_max_room_member_id(self): - return 0 # TODO - - def get_max_room_data_id(self): + def get_room_events_max_id(self): return 0 # TODO def get_joined_hosts_for_room(self, room_id): |