-
Notifications
You must be signed in to change notification settings - Fork 3
Open
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
- Go to '...'
- Click on '...'
- Scroll down to '...'
- See error '...'
Expected behavior
Tests when debugged via pytest --trace .. are ok. So the total test should also pass.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working