-
- Downloads
package.tests: use a fixture to configure the loaders
This allows to make test execution not depend on the SWH_CONFIG_FILENAME environment variable, so it's easier to run them using pytest directly (rather than tox).
Showing
- swh/loader/package/tests/conftest.py 11 additions, 0 deletionsswh/loader/package/tests/conftest.py
- swh/loader/package/tests/resources/loader.yml 3 additions, 0 deletionsswh/loader/package/tests/resources/loader.yml
- swh/loader/package/tests/test_gnu.py 2 additions, 2 deletionsswh/loader/package/tests/test_gnu.py
- swh/loader/package/tests/test_npm.py 1 addition, 1 deletionswh/loader/package/tests/test_npm.py
- swh/loader/package/tests/test_pypi.py 2 additions, 4 deletionsswh/loader/package/tests/test_pypi.py
swh/loader/package/tests/conftest.py
0 → 100644
Please register or sign in to comment