Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Oct 5, 2020
1 parent ee6fea7 commit 2242bec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/storage/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def runWithConnection(func, *args, **kwargs):
engine = create_engine(sqlite_config)
fake_engine = Mock(wraps=engine)
fake_engine.can_native_upsert = False
fake_engine.in_transaction.return_value = False

db = DatabasePool(Mock(), Mock(config=sqlite_config), fake_engine)
db._db_pool = self.db_pool
Expand Down

0 comments on commit 2242bec

Please sign in to comment.