[py-svn] commit/pytest: RonnyPfannschmidt: dont wrap comparisation paths in py.path.local for the junitxml tests, since missing $HOME causes issues else
Bitbucket
commits-noreply at bitbucket.org
Sat May 28 16:53:32 CEST 2011
1 new changeset in pytest:
http://bitbucket.org/hpk42/pytest/changeset/94fdfb180acc/
changeset: 94fdfb180acc
branches:
user: RonnyPfannschmidt
date: 2011-05-28 16:52:05
summary: dont wrap comparisation paths in py.path.local for the junitxml tests, since missing $HOME causes issues else
affected #: 1 file (30 bytes)
--- a/testing/test_junitxml.py Sat May 28 16:21:57 2011 +0200
+++ b/testing/test_junitxml.py Sat May 28 16:52:05 2011 +0200
@@ -367,9 +367,9 @@
def test_logxml_path_expansion():
from _pytest.junitxml import LogXML
- home_tilde = py.path.local(os.path.expanduser('~/test.xml'))
+ home_tilde = os.path.expanduser('~/test.xml')
# this is here for when $HOME is not set correct
- home_var = py.path.local(os.path.expandvars('$HOME/test.xml'))
+ home_var = os.path.expandvars('$HOME/test.xml')
xml_tilde = LogXML('~/test.xml', None)
assert xml_tilde.logfile == home_tilde
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list