We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_data_home
When using ExternalResources in a pytest test, I want the downloaded data to be put in the tmpdir provided by the pytest fixture.
ExternalResources
pytest
tmpdir
But so far, there is no way of setting data_home, be it in the constructor of ExternalResources or via a setter, forcing me to do:
data_home
silx_resources = ExternalResources( PROJECT_NAME, url_base="http://www.silx.org/pub" ) silx_resources._data_home = tmpdir
I think adding a way of setting data_home via the constructor is quite sensible. I can do a PR if you agree.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using
ExternalResources
in apytest
test, I want the downloaded data to be put in thetmpdir
provided by thepytest
fixture.But so far, there is no way of setting
data_home
, be it in the constructor ofExternalResources
or via a setter, forcing me to do:I think adding a way of setting
data_home
via the constructor is quite sensible. I can do a PR if you agree.The text was updated successfully, but these errors were encountered: