From: Plone F. T. <plo...@ep...> - 2004-11-29 06:37:10
|
Plone Functional Tests : FAILED (errors=4) Plone-trunk Zope-2_7-branch Python-2.3.4 Running /usr/local/python2.3/bin/python CMFPlone/ftests/runalltests.py Loading Zope, please stand by ... done (0.975s) Installing CMFCore ... done (0.288s) Installing CMFDefault ... done (0.124s) Installing CMFCalendar ... done (0.020s) Installing CMFTopic ... done (0.010s) Installing DCWorkflow ... done (0.061s) Installing CMFActionIcons ... done (0.016s) Installing CMFQuickInstallerTool ... done (0.029s) Installing CMFFormController ... done (0.129s) Installing GroupUserFolder ... done (0.065s) Installing ZCTextIndex ... done (0.119s) Installing SecureMailHost ... done (0.072s) Installing CMFPlone ... done (0.329s) Adding Plone Site ... done (1.624s) EEEE ====================================================================== ERROR: testCreateDocument (testExample.TestFunctionalExample) ---------------------------------------------------------------------- Traceback (most recent call last): File "testExample.py", line 76, in testCreateDocument self.b.open(self.folder_url+'/folder_contents', login_data) File "/usr/local/python2.3/lib/python2.3/site-packages/mechanize/_mechanize.py", line 101, in open def open(self, url, data=None): return self._open(url, data) File "/usr/local/python2.3/lib/python2.3/site-packages/mechanize/_mechanize.py", line 123, in _open self.response = ClientCookie.OpenerDirector.open( File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 520, in open response = urllib2.OpenerDirector.open(self, req, data) File "/usr/local/python2.3/lib/python2.3/urllib2.py", line 326, in open '_open', req) File "/usr/local/python2.3/lib/python2.3/urllib2.py", line 306, in _call_chain result = func(*args) File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 754, in http_open return self.do_open(httplib.HTTP, req) File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 619, in do_open response = urllib.addinfourl(fp, hdrs, req.get_full_url()) File "/usr/local/python2.3/lib/python2.3/urllib.py", line 837, in __init__ addbase.__init__(self, fp) File "/usr/local/python2.3/lib/python2.3/urllib.py", line 787, in __init__ self.read = self.fp.read AttributeError: 'NoneType' object has no attribute 'read' ====================================================================== ERROR: testFakeLogin (testExample.TestFunctionalExample) ---------------------------------------------------------------------- Traceback (most recent call last): File "testExample.py", line 41, in testFakeLogin self.b.open(self.portal_url, login_data) File "/usr/local/python2.3/lib/python2.3/site-packages/mechanize/_mechanize.py", line 101, in open def open(self, url, data=None): return self._open(url, data) File "/usr/local/python2.3/lib/python2.3/site-packages/mechanize/_mechanize.py", line 123, in _open self.response = ClientCookie.OpenerDirector.open( File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 520, in open response = urllib2.OpenerDirector.open(self, req, data) File "/usr/local/python2.3/lib/python2.3/urllib2.py", line 326, in open '_open', req) File "/usr/local/python2.3/lib/python2.3/urllib2.py", line 306, in _call_chain result = func(*args) File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 754, in http_open return self.do_open(httplib.HTTP, req) File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 612, in do_open raise URLError(err) URLError: <urlopen error (111, 'Connection refused')> ====================================================================== ERROR: testRealLogin (testExample.TestFunctionalExample) ---------------------------------------------------------------------- Traceback (most recent call last): File "testExample.py", line 49, in testRealLogin self.b.open(self.portal_url) File "/usr/local/python2.3/lib/python2.3/site-packages/mechanize/_mechanize.py", line 101, in open def open(self, url, data=None): return self._open(url, data) File "/usr/local/python2.3/lib/python2.3/site-packages/mechanize/_mechanize.py", line 123, in _open self.response = ClientCookie.OpenerDirector.open( File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 520, in open response = urllib2.OpenerDirector.open(self, req, data) File "/usr/local/python2.3/lib/python2.3/urllib2.py", line 326, in open '_open', req) File "/usr/local/python2.3/lib/python2.3/urllib2.py", line 306, in _call_chain result = func(*args) File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 754, in http_open return self.do_open(httplib.HTTP, req) File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 612, in do_open raise URLError(err) URLError: <urlopen error (111, 'Connection refused')> ====================================================================== ERROR: testChangeState (testChangeState.TestChangeState) ---------------------------------------------------------------------- Traceback (most recent call last): File "testChangeState.py", line 50, in testChangeState self.b.open(self.folder_url+"/folder_contents", urlencode(_d)) File "/usr/local/python2.3/lib/python2.3/site-packages/mechanize/_mechanize.py", line 101, in open def open(self, url, data=None): return self._open(url, data) File "/usr/local/python2.3/lib/python2.3/site-packages/mechanize/_mechanize.py", line 123, in _open self.response = ClientCookie.OpenerDirector.open( File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 520, in open response = urllib2.OpenerDirector.open(self, req, data) File "/usr/local/python2.3/lib/python2.3/urllib2.py", line 326, in open '_open', req) File "/usr/local/python2.3/lib/python2.3/urllib2.py", line 306, in _call_chain result = func(*args) File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 754, in http_open return self.do_open(httplib.HTTP, req) File "/usr/local/python2.3/lib/python2.3/site-packages/ClientCookie/_urllib2_support.py", line 612, in do_open raise URLError(err) URLError: <urlopen error (111, 'Connection refused')> ---------------------------------------------------------------------- Ran 4 tests in 0.635s FAILED (errors=4) |