[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_interface.py:1.5.16.1
Jim Fulton
jim@zope.com
Fri, 2 May 2003 15:43:22 -0400
Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv8709/src/zope/app/services/tests
Modified Files:
Tag: interfacegeddon2-branch
test_interface.py
Log Message:
Merged interfacegeddon changes into second interfacegeddon branch in
preparation for the final merge.
=== Zope3/src/zope/app/services/tests/test_interface.py 1.5 => 1.5.16.1 ===
--- Zope3/src/zope/app/services/tests/test_interface.py:1.5 Tue Feb 25 16:49:24 2003
+++ Zope3/src/zope/app/services/tests/test_interface.py Fri May 2 15:42:51 2003
@@ -63,6 +63,10 @@
self.registry.newModule("imodule", code)
get_transaction().commit()
imodule = self.registry.findModule("imodule")
+
+ # test for a pickling bug
+ self.assertEqual(imodule.Foo.__implements__, imodule.IFoo)
+
self.assert_(imodule.IFoo.isImplementedBy(imodule.aFoo))
# the conversion should not affect Interface
self.assert_(imodule.Interface is Interface)