diff options
author | Mark Haines <mjark@negativecurvature.net> | 2015-05-05 18:30:35 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2015-05-05 18:30:35 +0100 |
commit | ecb26beda5582df286d5d21a91013b9cdb730e07 (patch) | |
tree | adffd54138cb4d537edb45f2d715e26a391edb76 /tests/storage | |
parent | Use buffer(...) when inserting into bytea column (diff) | |
parent | And use buffer(...) there as well (diff) | |
download | synapse-ecb26beda5582df286d5d21a91013b9cdb730e07.tar.xz |
Merge pull request #137 from matrix-org/erikj/executemany
executemany support
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/test_base.py b/tests/storage/test_base.py index a64d2b821e..8c348ecc95 100644 --- a/tests/storage/test_base.py +++ b/tests/storage/test_base.py @@ -67,7 +67,7 @@ class SQLBaseStoreTestCase(unittest.TestCase): self.mock_txn.execute.assert_called_with( "INSERT INTO tablename (columname) VALUES(?)", - ["Value"] + ("Value",) ) @defer.inlineCallbacks @@ -82,7 +82,7 @@ class SQLBaseStoreTestCase(unittest.TestCase): self.mock_txn.execute.assert_called_with( "INSERT INTO tablename (colA, colB, colC) VALUES(?, ?, ?)", - [1, 2, 3] + (1, 2, 3,) ) @defer.inlineCallbacks |