diff --git a/scripts/tests/avh/test_lighting_app.py b/scripts/tests/avh/test_lighting_app.py index c44f840696a161..a37c692f39bdec 100644 --- a/scripts/tests/avh/test_lighting_app.py +++ b/scripts/tests/avh/test_lighting_app.py @@ -29,7 +29,7 @@ TEST_PIN_CODE = 20202021 TEST_DISCRIMINATOR = 3840 -if "AVH_API_TOKEN" not in os.environ: +if "AVH_API_TOKEN" not in os.environ or len(os.environ["AVH_API_TOKEN"]) == 0: raise Exception("Please set AVH_API_TOKEN environment variable value")