vcrpy
vcrpy copied to clipboard
Use importlib_resources to find test fixtures
trafficstars
Hi!
This PR tweaks the file fixture loading in tests to use importlib_resources to ensure that tests can be run from any working directory (or even as part of a wheel or sdist package).
Since this adds a dependency, I added it to setup.py and also created a separate installation target for tests so
pip install .[tests]
will work.