diff options
author | holger krekel <holger@merlinux.eu> | 2015-03-11 20:37:30 +0100 |
---|---|---|
committer | holger krekel <holger@merlinux.eu> | 2015-03-11 20:37:30 +0100 |
commit | 475c8c2ea751004f59c41cad77c8c00af6e957c2 (patch) | |
tree | ee175d50e289ac000b3d8e4a539d62bac2b505fd | |
parent | 779497bf8545777dc7b8f3dfa8f4c4e9bfc2c7b7 (diff) | |
download | tox-475c8c2ea751004f59c41cad77c8c00af6e957c2.tar.gz |
fix tests for "-m" virtualenv change of last commit
-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 942888f..3faa16b 100644 --- a/tests/test_venv.py +++ b/tests/test_venv.py @@ -55,7 +55,7 @@ def test_create(monkeypatch, mocksession, newconfig): l = mocksession._pcalls assert len(l) >= 1 args = l[0].args - assert "virtualenv" in str(args[1]) + assert "virtualenv" == str(args[2]) if sys.platform != "win32": # realpath is needed for stuff like the debian symlinks assert py.path.local(sys.executable).realpath() \ @@ -347,7 +347,7 @@ def test_install_python3(tmpdir, newmocksession): l = mocksession._pcalls assert len(l) == 1 args = l[0].args - assert str(args[1]).endswith('virtualenv') + assert str(args[2]) == 'virtualenv' l[:] = [] action = mocksession.newaction(venv, "hello") venv._install(["hello"], action=action) |