[Zope3-checkins] CVS: Zope3/src/zope/schema/tests - test_vocabulary.py:1.12

Gary Poster gary at zope.com
Wed Jan 28 18:07:43 EST 2004


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

Modified Files:
	test_vocabulary.py 
Log Message:
Make it possible to easily use VocabularyFields in zcml declarations (interfaces).



=== Zope3/src/zope/schema/tests/test_vocabulary.py 1.11 => 1.12 ===
--- Zope3/src/zope/schema/tests/test_vocabulary.py:1.11	Mon Jun 16 14:54:31 2003
+++ Zope3/src/zope/schema/tests/test_vocabulary.py	Wed Jan 28 18:07:43 2004
@@ -21,6 +21,7 @@
 
 from zope.schema import interfaces
 from zope.schema import vocabulary
+from zope.testing.doctestunit import DocTestSuite
 
 
 class DummyRegistry(vocabulary.VocabularyRegistry):
@@ -293,6 +294,7 @@
     suite = unittest.makeSuite(RegistryTests)
     suite.addTest(unittest.makeSuite(VocabularyFieldTests))
     suite.addTest(unittest.makeSuite(SimpleVocabularyTests))
+    suite.addTest(DocTestSuite("zope.schema.vocabulary"))
     return suite
 
 if __name__ == "__main__":




More information about the Zope3-Checkins mailing list