From 70b24fd0c1a4e8cb86e5381d45b19363bbcbc004 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 7 Apr 2026 06:44:25 +0200 Subject: [PATCH] test: reset pairlocks pior to running test --- tests/plugins/test_pairlocks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/plugins/test_pairlocks.py b/tests/plugins/test_pairlocks.py index 28298ac52..729691bf5 100644 --- a/tests/plugins/test_pairlocks.py +++ b/tests/plugins/test_pairlocks.py @@ -165,6 +165,7 @@ def test_PairLocks_reason(use_db): def test_PairLocks_no_duplicates(use_db, time_machine): PairLocks.timeframe = "5m" PairLocks.use_db = use_db + PairLocks.reset_locks() # No lock should be present assert len(PairLocks.get_all_locks()) == 0 time_machine.move_to("2026-01-05 20:00:05 +00:00", tick=False)