openbsd-ports/www/py-quixote/patches/patch-tests_qx_testlib_py

14 lines
624 B
Plaintext

$OpenBSD: patch-tests_qx_testlib_py,v 1.2 2009/06/03 02:13:30 wcmaier Exp $
--- tests/qx_testlib.py.orig Mon Jun 1 23:37:03 2009
+++ tests/qx_testlib.py Mon Jun 1 23:36:57 2009
@@ -56,7 +56,8 @@ def run_server(create_fn, PORT=None):
print 'STARTING:', sys.executable, 'tests/qx_testserver.py', os.getcwd()
process = subprocess.Popen([sys.executable, '-u', 'qx_testserver.py'],
stderr=subprocess.STDOUT,
- stdout=outfd)
+ stdout=outfd,
+ env={'PYTHONPATH': '../'})
time.sleep(1)