From 34aaa45c92d8dac100735c8f29530aca3bfdef77 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 18 Nov 2022 21:37:59 +0000 Subject: [PATCH] Fix failing test --- app/tests/unit/test_logic_graphs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/tests/unit/test_logic_graphs.py b/app/tests/unit/test_logic_graphs.py index a8620786..9ed1cbf1 100644 --- a/app/tests/unit/test_logic_graphs.py +++ b/app/tests/unit/test_logic_graphs.py @@ -28,6 +28,6 @@ def test_flatten_data(): DailyStat("2022-04-02", 1) ]) - assert res["start"] == datetime.date.fromisoformat("2022-03-28") - assert res["end"] == datetime.date.fromisoformat("2022-04-02") + assert res["start"] == "2022-03-28" + assert res["end"] == "2022-04-02" assert res["platform_minetest"] == [3, 10, 0, 0, 5, 1]