diff --git a/tests/conftest.py b/tests/conftest.py index 719207f7b67..e298654e4e6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -159,7 +159,7 @@ def west_to_south_east_path(small_infra: Infra, fast_rolling_stock: int) -> Iter """west_to_south_east_path screenshot in `tests/README.md`""" requests.post(f"{EDITOAST_URL}infra/{small_infra.id}/load").raise_for_status() response = requests.post( - f"{EDITOAST_URL}/v2/infra/{small_infra.id}/pathfinding/blocks", + f"{EDITOAST_URL}v2/infra/{small_infra.id}/pathfinding/blocks", json={ "path_items": [ {"offset": 837034, "track": "TA2"}, @@ -169,8 +169,12 @@ def west_to_south_east_path(small_infra: Infra, fast_rolling_stock: int) -> Iter "rolling_stock_loading_gauge": "G1", "rolling_stock_supported_electrifications": [], "rolling_stock_supported_signaling_systems": ["BAL", "BAPR", "TVM300", "TVM430"], + "rolling_stock_maximum_speed": 200, + "rolling_stock_length":100000 }, ) + print("ok") + print(response.content) yield TrainPath(**response.json())