fails if no skip function

pull/30896/head
Shane Smiskol 1 year ago
parent 543cd4460a
commit ff3d697d38
  1. 2
      selfdrive/car/tests/test_models.py

@ -466,7 +466,7 @@ class TestCarModelBase(unittest.TestCase):
failed_checks = {k: v for k, v in checks.items() if v > 0} failed_checks = {k: v for k, v in checks.items() if v > 0}
self.assertFalse(len(failed_checks), f"panda safety doesn't agree with openpilot: {failed_checks}") self.assertFalse(len(failed_checks), f"panda safety doesn't agree with openpilot: {failed_checks}")
@pytest.mark.skipif(not CI, reason="When running in CI we want to make sure all the routes are uploaded to the preserved CI bucket.") # @pytest.mark.skipif(not CI, reason="When running in CI we want to make sure all the routes are uploaded to the preserved CI bucket.")
def test_route_on_ci_bucket(self): def test_route_on_ci_bucket(self):
assert self.test_route_on_bucket, "Route not on CI bucket. \ assert self.test_route_on_bucket, "Route not on CI bucket. \
This is fine to fail for WIP car ports, just let us know and we can upload your routes to the CI bucket." This is fine to fail for WIP car ports, just let us know and we can upload your routes to the CI bucket."

Loading…
Cancel
Save