[Zope-Checkins] CVS: Zope3/lib/python/Interface/tests - testVerify.py:1.1.2.2

Tres Seaver tseaver@zope.com
Fri, 30 Nov 2001 23:40:37 -0500


Update of /cvs-repository/Zope3/lib/python/Interface/tests
In directory cvs.zope.org:/tmp/cvs-serv12451/tests

Modified Files:
      Tag: Zope-3x-branch
	testVerify.py 
Log Message:


 - Allow 'verify' to check modules and instances, as well as classes;
   rename second arg 'klass' => 'candidate' to reflect this semantic.

 - Add test for module verification.


=== Zope3/lib/python/Interface/tests/testVerify.py 1.1.2.1 => 1.1.2.2 ===
         verify(I, C)
 
+    def testModule( self ):
+
+        from Interface.tests.IFoo import IFoo
+        from Interface.tests import dummy
+
+        verify( IFoo, dummy )