test_models: don't skip test cases with multiple pytest jobs (#28953)

* Update test_models.py

* Update selfdrive/car/tests/test_models.py

* Update selfdrive/car/tests/test_models.py
pull/28956/head
Shane Smiskol 2 years ago committed by GitHub
parent c9c636bdd7
commit f6390c6e40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/car/tests/test_models.py

@ -39,7 +39,7 @@ for r in routes:
test_cases: List[Tuple[str, Optional[CarTestRoute]]] = []
for i, c in enumerate(sorted(all_known_cars())):
if i % NUM_JOBS == JOB_ID:
test_cases.extend((c, r) for r in routes_by_car.get(c, (None, )))
test_cases.extend(sorted((c, r) for r in routes_by_car.get(c, (None, ))))
SKIP_ENV_VAR = "SKIP_LONG_TESTS"

Loading…
Cancel
Save