On 06/11/2005, at 2:42 AM, Jim Gallacher wrote:
The changes work fine on:
Mac OS X (10.3.9) / Apache 2.0.51 (worker) / Python 2.3 (Apple OS
Installed)
Linux Fedora Code 2 / Apache 2.0.55 (prefork) / Python 2.3.5
Test example was gilstate.tar.gz attached to MODPYTHON-77.
Also passed on mod_python/test suite on Mac OS X. There were failures
of test suite on Linux, but those failures occurred before patches
were applied as well.
Failures? What failures?
Haven't had a chance to investigate yet and ensure they aren't caused
by me
using versions of both Python and Apache not in standard locations. Most
tests work though. The tests that fail are:
======================================================================
FAIL: test_connectionhandler (__main__.PerRequestTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test.py", line 962, in test_connectionhandler
self.fail(`rsp`)
File "/home/grahamd/testing/lib/python2.3/unittest.py", line 270, in
fail
raise self.failureException, msg
AssertionError: '/home/grahamd/src/mod_python-3.2.4b/test/htdocs'
----------------------------------------------------------------------
Ran 38 tests in 10.173s
FAILED (failures=1)
F Stopping Apache...
/home/grahamd/testing/bin/httpd -k stop -f
/home/grahamd/src/mod_python-3.2.4b/test/conf/test.conf
======================================================================
FAIL: testPerRequestTests (__main__.PerInstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test.py", line 1488, in testPerRequestTests
self.failUnless(result.wasSuccessful())
File "/home/grahamd/testing/lib/python2.3/unittest.py", line 278, in
failUnless
if not expr: raise self.failureException, msg
AssertionError
----------------------------------------------------------------------
Ran 4 tests in 26.620s
FAILED (failures=1)