hove-io/navitia

Jormungandr ride sharing test fail

vpassama opened this issue · 0 comments

Hi !

With @eturck, we noticed a strange thing after we updated dev branch, we actually have the ride_sharing test failing in jormungandr. We don't understand how it can work for you ^^ and as the code is not that simple for this service, we could use your help on this.

The concerned file : instant_system_new_default_routing_tests.py

The lines of code we watched closer :

So you see here, you mock an int value in input and you want to test its output is a string made of a float value.

In our make test :

E       AssertionError: assert '170' == '170.0'
E         - 170
E         + 170.0
E         ?    ++

../../source/jormungandr/tests/instant_system_new_default_routing_tests.py:157: AssertionError

It may be due to differences between versions of our packages/python but we don't know yet.

Thank you !