From 983484accdb7dd0eb427339323bcdd48c48fc25c Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 21 Nov 2021 10:36:39 +0100 Subject: [PATCH] Remove fluky test (seconds still tick with time_machine) --- tests/test_freqtradebot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_freqtradebot.py b/tests/test_freqtradebot.py index 08b2801f7..2dcb573e1 100644 --- a/tests/test_freqtradebot.py +++ b/tests/test_freqtradebot.py @@ -4713,9 +4713,8 @@ def test_leverage_prep(): ('spot', 0, "2021-09-01 00:00:00", "2021-09-01 08:00:00"), ('margin', 0, "2021-09-01 00:00:00", "2021-09-01 08:00:00"), ('futures', 31, "2021-09-01 00:00:02", "2021-09-01 08:00:01"), - ('futures', 32, "2021-09-01 00:00:00", "2021-09-01 08:00:01"), + ('futures', 32, "2021-08-31 23:59:59", "2021-09-01 08:00:01"), ('futures', 32, "2021-09-01 00:00:02", "2021-09-01 08:00:02"), - ('futures', 33, "2021-09-01 00:00:00", "2021-09-01 08:00:02"), ('futures', 33, "2021-08-31 23:59:59", "2021-09-01 08:00:02"), ('futures', 33, "2021-08-31 23:59:59", "2021-09-01 08:00:03"), ('futures', 33, "2021-08-31 23:59:59", "2021-09-01 08:00:04"),