1 new commit in tox:

https://bitbucket.org/hpk42/tox/commits/013eceeffdfb/
Changeset:   013eceeffdfb
User:        hpk42
Date:        2015-03-11 19:37:30+00:00
Summary:     fix tests for "-m" virtualenv change of last commit
Affected #:  1 file

diff -r 338b48333f7cd3a4eab570498d93f69177ef8fb9 -r 
013eceeffdfbc0383ba7cd7d8efd27da46aeaba5 tests/test_venv.py
--- a/tests/test_venv.py
+++ b/tests/test_venv.py
@@ -55,7 +55,7 @@
     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 @@
     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)

Repository URL: https://bitbucket.org/hpk42/tox/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to