[py-svn] r38115 - py/trunk/py/apigen/testing
fijal at codespeak.net
fijal at codespeak.net
Wed Feb 7 21:40:14 CET 2007
Author: fijal
Date: Wed Feb 7 21:40:09 2007
New Revision: 38115
Modified:
py/trunk/py/apigen/testing/test_apigen_functional.py
Log:
Call python directly
Modified: py/trunk/py/apigen/testing/test_apigen_functional.py
==============================================================================
--- py/trunk/py/apigen/testing/test_apigen_functional.py (original)
+++ py/trunk/py/apigen/testing/test_apigen_functional.py Wed Feb 7 21:40:09 2007
@@ -6,6 +6,7 @@
import py
from py.__.apigen import apigen
+
def setup_fs_project(name):
temp = py.test.ensuretemp(name)
assert temp.listdir() == []
@@ -123,7 +124,7 @@
'python "%s/bin/py.test"') % (tempdir, fs_root, pydir)
else:
cmd = ('APIGEN_TARGET="%s" PYTHONPATH="%s" '
- '"%s/bin/py.test"') % (tempdir, fs_root, pydir)
+ 'python "%s/bin/py.test"') % (tempdir, fs_root, pydir)
try:
output = py.process.cmdexec('%s --apigen="%s/apigen.py" "%s"' % (
cmd, fs_root, pakdir))
More information about the pytest-commit
mailing list