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_background_update.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_background_update.py')
-rw-r--r-- | tests/storage/test_background_update.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_background_update.py b/tests/storage/test_background_update.py index 9fabe3fbc0..e360297df9 100644 --- a/tests/storage/test_background_update.py +++ b/tests/storage/test_background_update.py @@ -37,7 +37,7 @@ class BackgroundUpdateTestCase(unittest.TestCase): def update(progress, count): self.clock.advance_time_msec(count * duration_ms) progress = {"my_key": progress["my_key"] + 1} - yield self.store.runInteraction( + yield self.store.db.runInteraction( "update_progress", self.store._background_update_progress_txn, "test_update", |