[Zodb-checkins] CVS: Zope3/src/zope/interface/tests - test_interface.py:1.7.22.1

Jim Fulton jim at zope.com
Sat Oct 11 10:51:20 EDT 2003


Update of /cvs-repository/Zope3/src/zope/interface/tests
In directory cvs.zope.org:/tmp/cvs-serv12193/src/zope/interface/tests

Modified Files:
      Tag: adaptergeddon-branch
	test_interface.py 
Log Message:
fixed some tests.

Modified surgates to use declarations directly.


=== Zope3/src/zope/interface/tests/test_interface.py 1.7 => 1.7.22.1 ===
--- Zope3/src/zope/interface/tests/test_interface.py:1.7	Thu Jul  3 18:46:20 2003
+++ Zope3/src/zope/interface/tests/test_interface.py	Sat Oct 11 10:51:19 2003
@@ -13,6 +13,7 @@
 ##############################################################################
 
 import unittest
+from zope.testing.doctestunit import DocTestSuite
 from zope.interface.tests.unitfixtures import *  # hehehe
 from zope.interface.exceptions import BrokenImplementation
 from zope.interface import implementedBy
@@ -181,7 +182,9 @@
 
 
 def test_suite():
-    return unittest.makeSuite(InterfaceTests)
+    suite = unittest.makeSuite(InterfaceTests)
+    suite.addTest(DocTestSuite("zope.interface.interface"))
+    return suite
 
 def main():
     unittest.TextTestRunner().run(test_suite())




More information about the Zodb-checkins mailing list