We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8890cdb commit c906e14Copy full SHA for c906e14
1 file changed
tests/plugins/test_pairlocks.py
@@ -187,3 +187,6 @@ def test_PairLocks_no_duplicates(use_db, time_machine):
187
# Different side - should create a new lock
188
PairLocks.lock_pair("XRP/USDT", dt_now() + timedelta(minutes=4), "TestLock1", side="long")
189
assert len(PairLocks.get_all_locks()) == 4
190
+
191
+ PairLocks.reset_locks()
192
+ PairLocks.use_db = True
0 commit comments