From e9cd2a55619d35109ca4454f99c330b8b641c168 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 19 Aug 2021 15:48:26 -0700 Subject: [PATCH] need a jwt for those tests old-commit-hash: f7bd264db888e2250a425c2a9249fc37ba539818 --- selfdrive/athena/tests/test_athenad_old.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/selfdrive/athena/tests/test_athenad_old.py b/selfdrive/athena/tests/test_athenad_old.py index 3266a9dae..b978d12cc 100644 --- a/selfdrive/athena/tests/test_athenad_old.py +++ b/selfdrive/athena/tests/test_athenad_old.py @@ -84,6 +84,11 @@ def test_athena(): # kill athenad and ensure it is restarted (check_output will throw if it is not) os.kill(int(athenad_pid), signal.SIGINT) expect_athena_starts() + + if not os.getenv('COMMA_JWT'): + print('WARNING: COMMA_JWT env not set, will not test requests to athena.comma.ai') + return + expect_athena_registers(start) print("ATHENA: getSimInfo")