Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xlqian committed Oct 18, 2024
1 parent 3e97997 commit 96ef27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/jormungandr/tests/routing_tests_new_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def test_context_car_co2_emission_without_car(self):
assert 'car_direct_path' in response['context']
assert 'co2_emission' in response['context']['car_direct_path']

assert pytest.approx(52.591, response['context']['car_direct_path']['co2_emission']['value'], 0.001)
assert 52.591 == pytest.approx(response['context']['car_direct_path']['co2_emission']['value'], 0.001)
assert response['context']['car_direct_path']['co2_emission']['unit'] == 'gEC'
assert response['context']['car_direct_path']['air_pollutants']['values']['nox'] == 0.0932
assert response['context']['car_direct_path']['air_pollutants']['values']['pm'] == 0.0119
Expand Down

0 comments on commit 96ef27b

Please sign in to comment.