[Zope-Checkins] CVS: Zope/lib/python/Interface/tests - testVerify.py:1.3.4.1
Chris McDonough
chrism@zope.com
Sun, 24 Nov 2002 18:41:22 -0500
Update of /cvs-repository/Zope/lib/python/Interface/tests
In directory cvs.zope.org:/tmp/cvs-serv9462/tests
Modified Files:
Tag: chrism-install-branch
testVerify.py
Log Message:
Merging with HEAD.
=== Zope/lib/python/Interface/tests/testVerify.py 1.3 => 1.3.4.1 ===
--- Zope/lib/python/Interface/tests/testVerify.py:1.3 Wed Aug 14 17:35:33 2002
+++ Zope/lib/python/Interface/tests/testVerify.py Sun Nov 24 18:41:22 2002
@@ -55,6 +55,25 @@
verifyClass(I, C)
+ def testMissingAttr_with_Extended_Interface(self):
+
+ class II(Interface):
+ def f():
+ pass
+
+ class I(II):
+ pass
+
+ class C:
+
+ __implements__=I
+
+ self.assertRaises(BrokenImplementation, verifyClass, I, C)
+
+ C.f=lambda self: None
+
+ verifyClass(I, C)
+
def testWrongArgs(self):
class I(Interface):