pytest unit tests break because pytest does not have access to the environment variables to create the s3 path for. Our unit tests were writing results to s3 since we were using the default save_output parameter, which defaults to ['results']. We now pass in an empty list to save_output to avoid writing to s3 from the unit tests.
Test Steps
No unit tests should fail when running:
pytest or tox
Description
pytest unit tests break because pytest does not have access to the environment variables to create the s3 path for. Our unit tests were writing results to s3 since we were using the default
save_output
parameter, which defaults to['results']
. We now pass in an empty list tosave_output
to avoid writing to s3 from the unit tests.Test Steps
No unit tests should fail when running:
pytest
ortox