From 981c579514f6d079625238dcd7d9996505b8c819 Mon Sep 17 00:00:00 2001 From: Bartolome Sanchez Date: Sat, 15 Jul 2017 10:47:22 +0200 Subject: [PATCH] Add regression test for upstream virtualenv bug https://github.com/tox-dev/tox/issues/203 --- CONTRIBUTORS | 1 + tests/test_config.py | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 1a163474dd..4126f4b8ba 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -46,3 +46,4 @@ Paweł Adamczak Oliver Bestwalter Selim Belhaouane Nick Douma +Bartolome Sanchez Salado diff --git a/tests/test_config.py b/tests/test_config.py index 3416d0d441..1f57dceccb 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -2170,6 +2170,20 @@ def test_showconfig_with_force_dep_version(self, cmd, initproj): r'*deps*dep1, dep2==5.0*', ]) + @pytest.mark.xfail(reason='Upstream bug. See #203') + def test_colon_symbol_in_directory_name(self, cmd, initproj): + initproj('colon:_symbol_in_dir_name', filedefs={ + 'tox.ini': ''' + [tox] + envlist = py27 + + [testenv] + commands = pip --version + ''', + }) + result = cmd.run("tox") + assert result.ret == 0 + @pytest.mark.parametrize("cmdline,envlist", [ ("-e py26", ['py26']),