[Checkins] SVN: grok/branches/philikon-grokcore.component/src/grok/tests/zcml/directiveerror.py <grok:grok /> directive now emits an action instead of grokking right away.

Philipp von Weitershausen philikon at philikon.de
Sat Aug 25 09:28:42 EDT 2007


Log message for revision 79255:
  <grok:grok /> directive now emits an action instead of grokking right away.
  That changes the error message.
  

Changed:
  U   grok/branches/philikon-grokcore.component/src/grok/tests/zcml/directiveerror.py

-=-
Modified: grok/branches/philikon-grokcore.component/src/grok/tests/zcml/directiveerror.py
===================================================================
--- grok/branches/philikon-grokcore.component/src/grok/tests/zcml/directiveerror.py	2007-08-25 13:27:59 UTC (rev 79254)
+++ grok/branches/philikon-grokcore.component/src/grok/tests/zcml/directiveerror.py	2007-08-25 13:28:41 UTC (rev 79255)
@@ -14,9 +14,8 @@
   ... </configure>''', context=context)
   Traceback (most recent call last):
     ...
-  ZopeXMLConfigurationError: File "...", line ...
-  GrokError: No module-level context for
-  <class 'grok.tests.zcml.directiveerror.CavePainting'>, please use grok.context.
+  ConfigurationExecutionError: martian.error.GrokError: No module-level context for <class 'grok.tests.zcml.directiveerror.CavePainting'>, please use grok.context.
+  ...
 
 """
 import grok



More information about the Checkins mailing list