test: add reset_locks to the end of the new test

This commit is contained in:
Matthias
2026-04-06 10:24:41 +02:00
parent 8890cdbcdb
commit c906e146fc
+3
View File
@@ -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