From c7e867d969e31def9ce662f9cc34aaaee7dbbccd Mon Sep 17 00:00:00 2001 From: hpk Date: Tue, 9 Sep 2008 19:47:39 +0200 Subject: [PATCH] [svn r58017] fixing two more glitches --HG-- branch : trunk --- py/cmdline/testing/test_cmdline.py | 2 +- py/rest/testing/test_directive.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py/cmdline/testing/test_cmdline.py b/py/cmdline/testing/test_cmdline.py index 9957504c2..1a548a5ee 100644 --- a/py/cmdline/testing/test_cmdline.py +++ b/py/cmdline/testing/test_cmdline.py @@ -11,7 +11,7 @@ class TestPyLookup(AcceptBase): 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)] ) diff --git a/py/rest/testing/test_directive.py b/py/rest/testing/test_directive.py index 65e0ee2f8..85f41f9b2 100644 --- a/py/rest/testing/test_directive.py +++ b/py/rest/testing/test_directive.py @@ -32,7 +32,7 @@ class TestGraphviz(object): 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,))