1. holger krekel
  2. tox

Commits

Ionel Cristian Mărieș  committed f54ba7b

Improve assertion to pass on windows.

  • Participants
  • Parent commits 2280714
  • Branches default

Comments (0)

Files changed (1)

File tests/test_venv.py

View file
  • Ignore whitespace
     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())