[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/component/tests/test_registration.py Moved tests of old registration machinery to level 2 so that they

Jim Fulton jim at zope.com
Mon Mar 20 06:56:33 EST 2006


Log message for revision 66111:
  Moved tests of old registration machinery to level 2 so that they
  don't normally generate deprecation errors.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/component/tests/test_registration.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/component/tests/test_registration.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/component/tests/test_registration.py	2006-03-20 11:56:30 UTC (rev 66110)
+++ Zope3/branches/jim-adapter/src/zope/app/component/tests/test_registration.py	2006-03-20 11:56:32 UTC (rev 66111)
@@ -29,11 +29,13 @@
     setup.setUpTraversal()
 
 def test_suite():
-    return unittest.TestSuite((
+    suite = unittest.TestSuite((
         doctest.DocFileSuite('deprecated35_statusproperty.txt'),
         doctest.DocFileSuite('deprecated35_registration.txt',
                              setUp=setUp, tearDown=placelesssetup.tearDown),
         ))
+    suite.level = 2
+    return suite
 
 if __name__ == "__main__":
     unittest.main(defaultTest='test_suite')



More information about the Zope3-Checkins mailing list