[Zope3-dev] Broken tests since last checkout
Baiju M
baiju.m.mail at gmail.com
Mon Feb 19 03:04:06 EST 2007
On 2/18/07, Roger Ineichen <dev at projekt01.ch> wrote:
> Since the newest Zope3 trunk checkout,
> some tests are not running. This tests are based
> on a custom test layer.
>
> Exception raised:
> Traceback (most recent call last):
> File "D:\trunk\Zope3\src\zope\testing\doctest.py", line 1361, in __run
> compileflags, 1) in test.globs
> File "<doctest README.txt[4]>", line 1, in ?
> manager.open('http://localhost/sampledata.html')
> File "D:\trunk\Zope3\src\zope\testbrowser\browser.py", line 223, in
> open
> self.mech_browser.open(url, data)
> File "D:\trunk\Zope3\src\mechanize\_mechanize.py", line 177, in open
> return self._mech_open(url, data)
> File "D:\trunk\Zope3\src\mechanize\_mechanize.py", line 202, in
> _mech_open
> response = UserAgent.open(self, self.request, data)
> File "D:\trunk\Zope3\src\mechanize\_opener.py", line 234, in open
> response = urlopen(self, req, data)
> File "C:\Python24\lib\urllib2.py", line 376, in _open
> '_open', req)
> File "C:\Python24\lib\urllib2.py", line 337, in _call_chain
> result = func(*args)
> File "D:\trunk\Zope3\src\zope\testbrowser\testing.py", line 123, in
> http_open
> return self.do_open(PublisherConnection, req)
> File "C:\Python24\lib\urllib2.py", line 993, in do_open
> h.request(req.get_method(), req.get_selector(), req.data, headers)
> File "D:\trunk\Zope3\src\zope\testbrowser\testing.py", line 80, in
> request
> self.response = self.caller(request_string, handle_errors)
> File "D:\trunk\Zope3\src\zope\app\testing\functional.py", line 592, in
> __call__
> environment)
> File "D:\trunk\Zope3\src\zope\app\testing\functional.py", line 625, in
> chooseRequestClass
> return chooseClasses(method, environment)
> File "D:\trunk\Zope3\src\zope\app\publication\httpfactory.py", line
> 33, in chooseClasses
> factory = factoryRegistry.lookup(method, content_type, environment)
> File
> "D:\trunk\Zope3\src\zope\app\publication\requestpublicationregistry.py",
> line 97, in lookup
> raise ConfigurationError('No registered publisher found '
> ConfigurationError: No registered publisher found for (GET/)
>
> Does anybody have any hints why the publisher is missing?
I am not getting this error when running 'python2.4 test.py' in Zope 3
trunk checkout.
How did you run this test?
Regards,
Baiju M
More information about the Zope3-dev
mailing list