also apply normpath to junitxml file path

This commit is contained in:
Ronny Pfannschmidt 2011-05-28 16:21:57 +02:00
parent 410438f187
commit 89a98e3276
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ def pytest_unconfigure(config):
class LogXML(object):
def __init__(self, logfile, prefix):
self.logfile = os.path.expanduser(os.path.expandvars(logfile))
logfile = os.path.expanduser(os.path.expandvars(logfile))
self.logfile = os.path.normpath(logfile)
self.prefix = prefix
self.test_logs = []
self.passed = self.skipped = 0