Conversation
Test Results 4 files ± 0 4 suites ±0 11m 32s ⏱️ + 10m 50s Results for commit 1f2b00d. ± Comparison against base commit 0d157a6. This pull request removes 232 and adds 35 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Codecov Report
@@ Coverage Diff @@
## master #489 +/- ##
==========================================
+ Coverage 70.77% 70.97% +0.20%
==========================================
Files 41 42 +1
Lines 3466 3487 +21
==========================================
+ Hits 2453 2475 +22
+ Misses 1013 1012 -1
|
| app_key = os.environ.get("APP_KEY") | ||
| os.environ["AZURE_CLIENT_SECRET"] = app_key | ||
|
|
||
| app_id = get_app_id() |
There was a problem hiding this comment.
Mind these can now be None
There was a problem hiding this comment.
How? if they don't exist it throws
I don't think you can set an empty env var
There was a problem hiding this comment.
Meaning these had defaults which you omitted from the code
There was a problem hiding this comment.
Yes, these are defaults in regard to our specific E2E test cluster. Which is very weird, and will fail for anyone who doesn't have the creds for it.
It will continue to work on github because the env is set properly, and also for anyone who configured their e2e tests.
yogilad
left a comment
There was a problem hiding this comment.
Approving with suggestion:
Make sure this runs locally and does not go too nuts if local env does not include said env vars (which was the role of the defaults).
| app_key = os.environ.get("APP_KEY") | ||
| os.environ["AZURE_CLIENT_SECRET"] = app_key | ||
|
|
||
| app_id = get_app_id() |
There was a problem hiding this comment.
Meaning these had defaults which you omitted from the code
Fixed