[py-svn] r58017 - in py/trunk/py: cmdline/testing rest/testing
hpk at codespeak.net
hpk at codespeak.net
Tue Sep 9 19:47:43 CEST 2008
Author: hpk
Date: Tue Sep 9 19:47:39 2008
New Revision: 58017
Modified:
py/trunk/py/cmdline/testing/test_cmdline.py
py/trunk/py/rest/testing/test_directive.py
Log:
fixing two more glitches
Modified: py/trunk/py/cmdline/testing/test_cmdline.py
==============================================================================
--- py/trunk/py/cmdline/testing/test_cmdline.py (original)
+++ py/trunk/py/cmdline/testing/test_cmdline.py Tue Sep 9 19:47:39 2008
@@ -11,7 +11,7 @@
def test_search_in_filename(self):
p = self.makepyfile(hello="def x(): pass")
- result = self.run("py.lookup", "hello")
+ result = self.runpybin("py.lookup", "hello")
suptest.assert_lines_contain_lines(result.outlines,
['*%s:*' %(p.basename)]
)
Modified: py/trunk/py/rest/testing/test_directive.py
==============================================================================
--- py/trunk/py/rest/testing/test_directive.py (original)
+++ py/trunk/py/rest/testing/test_directive.py Tue Sep 9 19:47:39 2008
@@ -32,7 +32,7 @@
png.remove()
def _graphviz_pdf(self):
- for exe in 'dot latex epstopdf'.split():
+ for exe in 'dot latex epstopdf ps2eps'.split():
if not py.path.local.sysfind(exe):
py.test.skip("%r needed" %(exe,))
More information about the pytest-commit
mailing list