Skip to content
Snippets Groups Projects
Verified Commit 97d087da authored by Marco Aceti's avatar Marco Aceti
Browse files

Fix train.test_fetch test case

parent 91b0bca3
Branches
No related tags found
No related merge requests found
Pipeline #2710 passed
......@@ -29,7 +29,12 @@ def test_fetch(kind, station_code):
)
for train in trains:
train.fetch()
if not train.departed and not train._phantom:
if (
not train.departed
and not train._phantom
and not train._trenord_phantom
and not train.cancelled
):
assert not train.arrived()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment