openbsd-ports/www/py-quixote/patches/patch-tests_qx_testlib_py
okan d093d22c13 import py-quizote
Quixote is a framework for developing Web applications in Python.
Quixote is based on a simple, flexible design, making it possible to
write applications quickly and to benefit from the wide range of
available third-party Python modules.  Deployed appropriately, Quixote
has excellent performance that allows you to put Quixote-based
applications into large-scale production use.

from Will Maier

ok merdely
2008-01-15 02:00:56 +00:00

14 lines
625 B
Plaintext

$OpenBSD: patch-tests_qx_testlib_py,v 1.1.1.1 2008/01/15 02:00:56 okan Exp $
--- tests/qx_testlib.py.orig Mon Jan 14 08:20:48 2008
+++ tests/qx_testlib.py Mon Jan 14 08:21:20 2008
@@ -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)