Azure / Azure/azure-sdk-for-python
`AZURE_TEST_RUN_LIVE` needs to be set outside of `.env` during local testing
Open
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 3.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 193
Description
I'm invoking tests locally. I have a `.env` defined. I defined `AZURE_TESTS_RUN_LIVE=true` within that `.env`. I am still getting `playback cannot find recording file` when it should be attempting **record** instead of default to playback.
If I set `AZURE_TESTS_RUN_LIVE` in environment, THEN run, the tests successfully go to `record` mode. We should be able to handle it when a `.env` exists and the user sets `AZURE_TESTS_RUN_LIVE` within only the `.env`.
Contributor guide
Assessment
This issue has not been assessed yet.