Skip to content

Conversation

@bjlittle
Copy link
Member

This PR corrects the use of the override_test_data_repository environment variable, and applies the standard naming convention of using upper-case environment variables 🙏

It also fixes the broken test runner option --no-data to actually ignore the test data.

This corrects #2211 and addresses the ignored comment

@dkillick and @lbdreyer

@bjlittle bjlittle added this to the v1.11 milestone Nov 16, 2016
@DPeterK
Copy link
Member

DPeterK commented Nov 16, 2016

addresses the ignored comment

To be fair, I'd already merged the PR by that point, if, apparently prematurely...

@bjlittle
Copy link
Member Author

@dkillick Yeah, I came to that party slightly late ...

# has been set. This is used in setup.py in the TestRunner command to
# enable us to simulate the absence of external data.
override = os.environ.get("override_test_data_repository")
override = os.environ.get("OVERRIDE_TEST_DATA_REPOSITORY")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does there need to be another change somewhere so that this environment variable is now supplied in all-caps? Or is this just something that a user specifies to the commandline at runtime?

@DPeterK DPeterK merged commit 15ad8f6 into SciTools:v1.11.x Nov 16, 2016
@bjlittle bjlittle deleted the fix-override-test-data branch October 29, 2019 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants