diff options
author | holger krekel <holger@merlinux.eu> | 2013-09-04 15:37:24 +0200 |
---|---|---|
committer | holger krekel <holger@merlinux.eu> | 2013-09-04 15:37:24 +0200 |
commit | 62f51be1a1b15ea71ac4359242b612e665289ca0 (patch) | |
tree | 742deec0b6818a033af72cd811bf38b21199124a /tests | |
parent | 44a372f509bcc2ce0a251ee2185094bebdf93360 (diff) | |
download | tox-62f51be1a1b15ea71ac4359242b612e665289ca0.tar.gz |
fix issue102: change to {toxinidir} when installing packages and dependencies.
this allows to use relative path like in "-rrequirements.txt".
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_venv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_venv.py b/tests/test_venv.py index ab34db7..67bdb92 100644 --- a/tests/test_venv.py +++ b/tests/test_venv.py @@ -133,7 +133,7 @@ def test_install_deps_wildcard(newmocksession): venv.install_deps() assert len(l) == 2 + py25calls args = l[-1].args - assert l[-1].cwd == venv.envconfig.envlogdir + assert l[-1].cwd == venv.envconfig.config.toxinidir assert "pip" in str(args[0]) assert args[1] == "install" #arg = "--download-cache=" + str(venv.envconfig.downloadcache) @@ -163,7 +163,7 @@ def test_install_downloadcache(newmocksession, monkeypatch, tmpdir, envdc): venv.install_deps() assert len(l) == 2 + py25calls args = l[-1].args - assert l[-1].cwd == venv.envconfig.envlogdir + assert l[-1].cwd == venv.envconfig.config.toxinidir assert "pip" in str(args[0]) assert args[1] == "install" assert "dep1" in args |