gtalarico / pyairtable

Python Api Client for Airtable
https://pyairtable.readthedocs.io
MIT License
784 stars 138 forks source link

Fix test failure when AIRTABLE_API_KEY env is set externally #382

Closed mesozoic closed 2 months ago

mesozoic commented 2 months ago

I found that one of the CLI tests in #376 actually fails when the test environment is set up for integration tests. This change ensures that the CLI environment variables are cleared unless the test itself sets them.