summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Conrad <alexandre.conrad@gmail.com>2014-04-30 17:22:37 -0700
committerAlexandre Conrad <alexandre.conrad@gmail.com>2014-04-30 17:22:37 -0700
commit3bd552c799ea29f90eb6a759cd4270a9681bc55d (patch)
treef81af6339b109003f77fc09e66fe44069c1c44d2
parent79d36210741a09d9ef1d7f3ecc0bd76be02e8b01 (diff)
downloadtox-3bd552c799ea29f90eb6a759cd4270a9681bc55d.tar.gz
make test more specific, less prone to failures
Checking for the non-existence of the string "virtualenv" could fail because paths may contain the word virtualenv.
-rw-r--r--tests/test_z_cmdline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_z_cmdline.py b/tests/test_z_cmdline.py
index 537db5d..2e10c24 100644
--- a/tests/test_z_cmdline.py
+++ b/tests/test_z_cmdline.py
@@ -565,7 +565,7 @@ def test_sdistonly(initproj, cmd):
result.stdout.fnmatch_lines([
"*sdist-make*setup.py*",
])
- assert "virtualenv" not in result.stdout.str()
+ assert "-mvirtualenv" not in result.stdout.str()
def test_separate_sdist_no_sdistfile(cmd, initproj):
distshare = cmd.tmpdir.join("distshare")