Skip to content

Commit

Permalink
Add check for empty AVH_API_TOKEN env. var.
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepmistry committed Nov 17, 2023
1 parent 3c60648 commit 710e19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tests/avh/test_lighting_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")


Expand Down

0 comments on commit 710e19a

Please # to comment.