pytest-datadir
pytest-datadir copied to clipboard
pytest plugin for manipulating test data directories and files
Thank you very much for the plugin Have you considered including a test_method_dir (or a similar name) to be able to have files only for one method (instead of the...
Just normal build, install and test cycle used on building package from non-root account: - "setup.py build" - "setup.py install --root " - "pytest with PYTHONPATH pointing to setearch and...
Pytest is reporting `OSError` with even trivial test case below: ```python C:\Users\foobar\repo> type tests\test_datadir.py def test_datadir(shared_datadir): assert True ``` [Gist link for error log here](https://gist.github.com/abelcheung/79a4ca62db3ebce0d2b42e8f697a12f2). ---- It happens only when...
This allows passing it to other module-scoped fixtures
This should fix #33. I am not sure how I should test for this, as it depends on being on Windows and having UNC paths around.
I have, due to [DFS](https://en.wikipedia.org/wiki/Distributed_File_System_(Microsoft)) in my environment, tests running in a dfs path, which results in a [UNC](https://en.wikipedia.org/wiki/Path_(computing)#Universal_Naming_Convention) path (`\\my.domain\dfs\some\path`) being passed to copytree in `shared_datadir()`. This results in...
In order to accomplish this I generalized the creation of datadirs, and then provided aliases for the old fixtures of the same name. This adds a number of fixtures to...
When the testsuite has nested directories, `shared_datadir` tries to find a `data` directory inside each level. This is useful but in some cases you might also want to have a...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7. Release notes Sourced from actions/download-artifact's releases. v4.1.7 What's Changed Update @actions/artifact dependency by @bethanyj28 in actions/download-artifact#325 Full Changelog: https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7 v4.1.6 What's Changed updating @actions/artifact...