[Checkins] SVN: zope.app.testing/trunk/src/zope/app/testing/tests.py fix the test after an overly-eager commit (command-line recall strikes again!)

Fred L. Drake, Jr. fdrake at gmail.com
Wed Aug 20 13:09:31 EDT 2008


Log message for revision 90032:
  fix the test after an overly-eager commit (command-line recall strikes again!)
  

Changed:
  U   zope.app.testing/trunk/src/zope/app/testing/tests.py

-=-
Modified: zope.app.testing/trunk/src/zope/app/testing/tests.py
===================================================================
--- zope.app.testing/trunk/src/zope/app/testing/tests.py	2008-08-20 17:07:35 UTC (rev 90031)
+++ zope.app.testing/trunk/src/zope/app/testing/tests.py	2008-08-20 17:09:30 UTC (rev 90032)
@@ -526,11 +526,13 @@
 
         >>> LayerOne = functional.ZCMLLayer(
         ...     empty_zcml, 'zope.app.testing.tests', 'LayerOne',
-        ...     product_config=product_config_one)
+        ...     product_config=product_config_one,
+        ...     allow_teardown=True)
 
         >>> LayerTwo = functional.ZCMLLayer(
         ...     empty_zcml, 'zope.app.testing.tests', 'LayerTwo',
-        ...     product_config=product_config_two)
+        ...     product_config=product_config_two,
+        ...     allow_teardown=True)
 
     For each layer, we can see that the correct product configuration is
     installed, and subsequent layer usages won't have problems because of the



More information about the Checkins mailing list