Skip to content

Commit

Permalink
Merge pull request #553 from bartsanchez/bugfix/github_203_tox_fails_…
Browse files Browse the repository at this point in the history
…when_colon_is_in_cwd

Add regression test for upstream virtualenv bug
  • Loading branch information
obestwalter authored Jul 15, 2017
2 parents 682c141 + 981c579 commit acc2e51
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ Paweł Adamczak
Oliver Bestwalter
Selim Belhaouane
Nick Douma
Bartolome Sanchez Salado
14 changes: 14 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
Expand Down

0 comments on commit acc2e51

Please sign in to comment.