Index: src/grok/tests/baseclass/base.py =================================================================== --- src/grok/tests/baseclass/base.py (revision 84756) +++ src/grok/tests/baseclass/base.py (working copy) @@ -1,10 +1,12 @@ """ Base classes shouldn't be grokked. -One way to indicate that something is a base class is by postfixing the -classname with 'Base'. Another way is to use the 'grok.baseclass' directive -on the class itself. +The way to indicate that something is a base class is to use the +'grok.baseclass' directive on the class itself. +Once upon a past there was magic that made all your class ending in +Base, um, base classes. Not anymore. + >>> grok.testing.grok(__name__) >>> from zope.publisher.browser import TestRequest @@ -12,12 +14,6 @@ >>> from zope import component >>> model = ModelBase() >>> view = component.getMultiAdapter((model, request), name='viewbase') - Traceback (most recent call last): - ... - ComponentLookupError: ((, - ), - , - 'viewbase') >>> view = component.getMultiAdapter((model, request), name='anotherview') Traceback (most recent call last): Index: src/grok/tests/baseclass/basecontext.py =================================================================== --- src/grok/tests/baseclass/basecontext.py (revision 84756) +++ src/grok/tests/baseclass/basecontext.py (working copy) @@ -10,12 +10,6 @@ >>> from zope import component >>> model = ModelBase() >>> view = component.getMultiAdapter((model, request), name='viewbase') - Traceback (most recent call last): - ... - ComponentLookupError: ((, - ), - , - 'viewbase') >>> view = component.getMultiAdapter((model, request), name='realview') >>> view.render() 'hello world'