diff options
author | Ionel Cristian Maries <contact@ionelmc.ro> | 2014-01-11 18:09:50 +0200 |
---|---|---|
committer | Ionel Cristian Maries <contact@ionelmc.ro> | 2014-01-11 18:09:50 +0200 |
commit | 20eb6ebe1f80228c8691d1d8ecc0de3dc60d9f69 (patch) | |
tree | 28be102ea8fcbfb847fbd7d852ba3ff35451a670 | |
parent | be2f2f58807fbcf15602b169d4057b6589cbbf79 (diff) | |
download | tox-20eb6ebe1f80228c8691d1d8ecc0de3dc60d9f69.tar.gz |
Improve assertion to pass on windows.
-rw-r--r-- | tests/test_venv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_venv.py b/tests/test_venv.py index 77181d1..c2ed371 100644 --- a/tests/test_venv.py +++ b/tests/test_venv.py @@ -48,7 +48,7 @@ def test_create(monkeypatch, mocksession, newconfig): l = mocksession._pcalls assert len(l) >= 1 args = l[0].args - assert str(args[0]).endswith("virtualenv") + assert "virtualenv" in str(args[0]) if sys.platform != "win32": #assert Envconfig.toxworkdir in args assert venv.getcommandpath("easy_install", cwd=py.path.local()) |