parent
cbfca77f39
commit
60455ead56
|
@ -6,6 +6,7 @@
|
||||||
import py
|
import py
|
||||||
from py.__.apigen import apigen
|
from py.__.apigen import apigen
|
||||||
|
|
||||||
|
|
||||||
def setup_fs_project(name):
|
def setup_fs_project(name):
|
||||||
temp = py.test.ensuretemp(name)
|
temp = py.test.ensuretemp(name)
|
||||||
assert temp.listdir() == []
|
assert temp.listdir() == []
|
||||||
|
@ -123,7 +124,7 @@ def test_apigen_functional():
|
||||||
'python "%s/bin/py.test"') % (tempdir, fs_root, pydir)
|
'python "%s/bin/py.test"') % (tempdir, fs_root, pydir)
|
||||||
else:
|
else:
|
||||||
cmd = ('APIGEN_TARGET="%s" PYTHONPATH="%s" '
|
cmd = ('APIGEN_TARGET="%s" PYTHONPATH="%s" '
|
||||||
'"%s/bin/py.test"') % (tempdir, fs_root, pydir)
|
'python "%s/bin/py.test"') % (tempdir, fs_root, pydir)
|
||||||
try:
|
try:
|
||||||
output = py.process.cmdexec('%s --apigen="%s/apigen.py" "%s"' % (
|
output = py.process.cmdexec('%s --apigen="%s/apigen.py" "%s"' % (
|
||||||
cmd, fs_root, pakdir))
|
cmd, fs_root, pakdir))
|
||||||
|
|
Loading…
Reference in New Issue