Skip to content

Commit 96ef27b

Browse files
committed
fix test
1 parent 3e97997 commit 96ef27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/jormungandr/tests/routing_tests_new_default.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def test_context_car_co2_emission_without_car(self):
248248
assert 'car_direct_path' in response['context']
249249
assert 'co2_emission' in response['context']['car_direct_path']
250250

251-
assert pytest.approx(52.591, response['context']['car_direct_path']['co2_emission']['value'], 0.001)
251+
assert 52.591 == pytest.approx(response['context']['car_direct_path']['co2_emission']['value'], 0.001)
252252
assert response['context']['car_direct_path']['co2_emission']['unit'] == 'gEC'
253253
assert response['context']['car_direct_path']['air_pollutants']['values']['nox'] == 0.0932
254254
assert response['context']['car_direct_path']['air_pollutants']['values']['pm'] == 0.0119

0 commit comments

Comments
 (0)