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
+2 -1
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