diff options
author | Erik Johnston <erik@matrix.org> | 2019-12-04 13:52:46 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-12-05 10:46:37 +0000 |
commit | 756d4942f5707922f29fe1fdfd945d73a19d7ac3 (patch) | |
tree | bbe79cc91c4da4fc830818132ba54d6974eaba0a /tests/storage/test_redaction.py | |
parent | Merge pull request #6464 from matrix-org/erikj/make_public_sql_base (diff) | |
download | synapse-756d4942f5707922f29fe1fdfd945d73a19d7ac3.tar.xz |
Move DB pool and helper functions into dedicated Database class
Diffstat (limited to 'tests/storage/test_redaction.py')
-rw-r--r-- | tests/storage/test_redaction.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/test_redaction.py b/tests/storage/test_redaction.py index 4930b6777e..dc45173355 100644 --- a/tests/storage/test_redaction.py +++ b/tests/storage/test_redaction.py @@ -338,7 +338,7 @@ class RedactionTestCase(unittest.HomeserverTestCase): ) event_json = self.get_success( - self.store.simple_select_one_onecol( + self.store.db.simple_select_one_onecol( table="event_json", keyvalues={"event_id": msg_event.event_id}, retcol="json", @@ -356,7 +356,7 @@ class RedactionTestCase(unittest.HomeserverTestCase): self.reactor.advance(60 * 60 * 2) event_json = self.get_success( - self.store.simple_select_one_onecol( + self.store.db.simple_select_one_onecol( table="event_json", keyvalues={"event_id": msg_event.event_id}, retcol="json", |