add another normpath in the junitxml tests

This commit is contained in:
Ronny Pfannschmidt 2011-05-28 19:00:23 +02:00
parent 4c885cf0d2
commit 5498fe960f
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ def test_invalid_xml_escape(testdir):
def test_logxml_path_expansion():
from _pytest.junitxml import LogXML
home_tilde = os.path.expanduser('~/test.xml')
home_tilde = os.path.normpath(os.path.expanduser('~/test.xml'))
# this is here for when $HOME is not set correct
home_var = os.path.normpath(os.path.expandvars('$HOME/test.xml'))