Skip to content

Commit

Permalink
override requirementslib cache
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Sep 28, 2019
1 parent c283341 commit b332052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def project(tmpdir_factory, pypi, install_manager, mocker):
os.environ["PASSA_CACHE_DIR"] = cache_path
mocker.patch("passa.models.caches.CACHE_DIR", cache_path)
mocker.patch("passa.internals._pip.CACHE_DIR", cache_path)
mocker.patch("requirementslib.models.setup_info.CACHE_DIR", cache_path)
mocker.patch(
"passa.internals.dependencies.DEPENDENCY_CACHE",
DependencyCache(cache_path)
Expand Down

0 comments on commit b332052

Please sign in to comment.