[Checkins]
SVN: grokcore.component/branches/jw-philipp-using-ndir-directives/src/grokcore/component/tests/
The error message of the new directives is slightly different.
Philipp von Weitershausen
philikon at philikon.de
Fri May 2 18:33:27 EDT 2008
Log message for revision 86147:
The error message of the new directives is slightly different.
Changed:
U grokcore.component/branches/jw-philipp-using-ndir-directives/src/grokcore/component/tests/adapter/nomodel.py
U grokcore.component/branches/jw-philipp-using-ndir-directives/src/grokcore/component/tests/grokker/grokcomponent.py
-=-
Modified: grokcore.component/branches/jw-philipp-using-ndir-directives/src/grokcore/component/tests/adapter/nomodel.py
===================================================================
--- grokcore.component/branches/jw-philipp-using-ndir-directives/src/grokcore/component/tests/adapter/nomodel.py 2008-05-02 22:31:37 UTC (rev 86146)
+++ grokcore.component/branches/jw-philipp-using-ndir-directives/src/grokcore/component/tests/adapter/nomodel.py 2008-05-02 22:33:27 UTC (rev 86147)
@@ -5,7 +5,7 @@
Traceback (most recent call last):
...
GrokError: No module-level context for
- <class 'grokcore.component.tests.adapter.nomodel.Home'>, please use grok.context.
+ <class 'grokcore.component.tests.adapter.nomodel.Home'>, please use the 'context' directive.
"""
import grokcore.component as grok
Modified: grokcore.component/branches/jw-philipp-using-ndir-directives/src/grokcore/component/tests/grokker/grokcomponent.py
===================================================================
--- grokcore.component/branches/jw-philipp-using-ndir-directives/src/grokcore/component/tests/grokker/grokcomponent.py 2008-05-02 22:31:37 UTC (rev 86146)
+++ grokcore.component/branches/jw-philipp-using-ndir-directives/src/grokcore/component/tests/grokker/grokcomponent.py 2008-05-02 22:33:27 UTC (rev 86147)
@@ -43,7 +43,7 @@
>>> grok.testing.grok_component('SecondAdapter', SecondAdapter)
Traceback (most recent call last):
...
- GrokError: No module-level context for <class 'grokcore.component.tests.grokker.grokcomponent.SecondAdapter'>, please use grok.context.
+ GrokError: No module-level context for <class 'grokcore.component.tests.grokker.grokcomponent.SecondAdapter'>, please use the 'context' directive.
So we need to supply the context ourselves::
More information about the Checkins
mailing list