diff options
| author | Alexandre Conrad <alexandre.conrad@gmail.com> | 2014-04-30 17:22:37 -0700 |
|---|---|---|
| committer | Alexandre Conrad <alexandre.conrad@gmail.com> | 2014-04-30 17:22:37 -0700 |
| commit | 3bd552c799ea29f90eb6a759cd4270a9681bc55d (patch) | |
| tree | f81af6339b109003f77fc09e66fe44069c1c44d2 | |
| parent | 79d36210741a09d9ef1d7f3ecc0bd76be02e8b01 (diff) | |
| download | tox-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.py | 2 |
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") |
