From c906e146fc6fcb28c553d4fa1d0813ec2d888552 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 6 Apr 2026 10:24:41 +0200 Subject: [PATCH] test: add reset_locks to the end of the new test --- tests/plugins/test_pairlocks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/plugins/test_pairlocks.py b/tests/plugins/test_pairlocks.py index f55c6ad88..28298ac52 100644 --- a/tests/plugins/test_pairlocks.py +++ b/tests/plugins/test_pairlocks.py @@ -187,3 +187,6 @@ def test_PairLocks_no_duplicates(use_db, time_machine): # Different side - should create a new lock PairLocks.lock_pair("XRP/USDT", dt_now() + timedelta(minutes=4), "TestLock1", side="long") assert len(PairLocks.get_all_locks()) == 4 + + PairLocks.reset_locks() + PairLocks.use_db = True