[svn r38115] Call python directly

--HG--
branch : trunk
This commit is contained in:
fijal 2007-02-07 21:40:09 +01:00
parent cbfca77f39
commit 60455ead56
1 changed files with 2 additions and 1 deletions

View File

@ -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 @@ def test_apigen_functional():
'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))