Pytest `tests/tsc/test_vehicle.py` failing
- Dominant language
- Python
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
## Description
The test `tests/tsc/test_vehicles.py::test_create_vehicle_list_2_vehicles_gradual_update` throws the following error:
```
def test_create_vehicle_list_2_vehicles_gradual_update(
simrequest, one_vehicle_xml, two_vehicle_xml
):
simrequest.query = one_vehicle_xml
vl = VehicleList(simrequest)
assert len(vl) == 1
assert vl[0].distance == 25.00
simrequest.query = two_vehicle_xml
vl.update_list()
> assert len(vl) == 2
E assert 1 == 2
E + where 1 = len( abscissa acceleration distance driven ... ordinate speed vehid vehtype\n0 75.0 0.0 75.0 False ... 0.0 25.0 0 VL\n\n[1 rows x 11 columns])
tests/tsc/test_vehicles.py:133: AssertionError
```
## Reproduce
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error '...'
## Expected behavior
Tests when debugged via `pytest --trace ..` are ok. So the total test should also pass.
Contributor guide
Assessment
This issue has not been assessed yet.