[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_registered.py:1.1.26.1

Fred L. Drake, Jr. fred at zope.com
Tue Sep 9 14:07:44 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv27304

Modified Files:
      Tag: parentgeddon-branch
	test_registered.py 
Log Message:
fix 3 more tests


=== Zope3/src/zope/app/services/tests/test_registered.py 1.1 => 1.1.26.1 ===
--- Zope3/src/zope/app/services/tests/test_registered.py:1.1	Sat Jun 21 17:22:13 2003
+++ Zope3/src/zope/app/services/tests/test_registered.py	Tue Sep  9 13:07:43 2003
@@ -20,8 +20,9 @@
 from zope.app.interfaces.annotation import IAnnotations
 from zope.app.tests.placelesssetup import PlacelessSetup
 from zope.interface import implements
+from zope.app.container.contained import Contained
 
-class C(dict):
+class C(dict, Contained):
     implements(IAnnotations)
 
 class TestRegistered(PlacelessSetup, TestCase):
@@ -66,9 +67,7 @@
         self.assertEqual(obj.usages(), ())
 
 def test_suite():
-    return TestSuite((
-        makeSuite(TestRegistered),
-        ))
+    return makeSuite(TestRegistered)
 
 if __name__=='__main__':
     main(defaultTest='test_suite')




More information about the Zope3-Checkins mailing list