summaryrefslogtreecommitdiff
path: root/tests/test_z_cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_z_cmdline.py')
-rw-r--r--tests/test_z_cmdline.py19
1 files changed, 17 insertions, 2 deletions
diff --git a/tests/test_z_cmdline.py b/tests/test_z_cmdline.py
index b288880..994d4ec 100644
--- a/tests/test_z_cmdline.py
+++ b/tests/test_z_cmdline.py
@@ -692,8 +692,7 @@ def test_installpkg(tmpdir, newconfig):
assert sdist_path == p
-@pytest.mark.xfail("sys.platform == 'win32' and sys.version_info < (2,6)",
- reason="test needs better impl")
+@pytest.mark.xfail("sys.platform == 'win32'", reason="test needs better impl")
def test_envsitepackagesdir(cmd, initproj):
initproj("pkg512-0.0.5", filedefs={
'tox.ini': """
@@ -708,6 +707,22 @@ def test_envsitepackagesdir(cmd, initproj):
""")
+@pytest.mark.xfail("sys.platform == 'win32'", reason="test needs better impl")
+def test_envsitepackagesdir_skip_missing_issue280(cmd, initproj):
+ initproj("pkg513-0.0.5", filedefs={
+ 'tox.ini': """
+ [testenv]
+ basepython=/usr/bin/qwelkjqwle
+ commands=
+ {envsitepackagesdir}
+ """})
+ result = cmd.run("tox", "--skip-missing-interpreters")
+ assert result.ret == 0
+ result.stdout.fnmatch_lines("""
+ SKIPPED:*qwelkj*
+ """)
+
+
def verify_json_report_format(data, testenvs=True):
assert data["reportversion"] == "1"
assert data["toxversion"] == tox.__version__