From 21a56d58046a9ec0355fe523573eab6fbc157537 Mon Sep 17 00:00:00 2001 From: codingfabi Date: Sun, 5 May 2024 16:09:59 +0200 Subject: [PATCH] adjust test evaluation --- tests/unit/test_calculate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_calculate.py b/tests/unit/test_calculate.py index 6ba62d0..1e9dd9e 100644 --- a/tests/unit/test_calculate.py +++ b/tests/unit/test_calculate.py @@ -51,7 +51,7 @@ def test_electricity(): @pytest.mark.parametrize( "transportation_mode,weekly_distance,size,fuel_type,occupancy,passengers,expected", [ - pytest.param("car", 30, "medium", "gasoline", None, 1, 6.93, id="car commute"), + pytest.param("car", 30, "medium", "gasoline", None, 1, 6.45, id="car commute"), pytest.param("bicycle", 60, None, None, None, 1, 0.54, id="bicycle commute"), ], )