[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/tests - test_vocabularywidget.py:1.1.2.13

Fred L. Drake, Jr. fred@zope.com
Tue, 6 May 2003 15:28:27 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/form/tests
In directory cvs.zope.org:/tmp/cvs-serv23340

Modified Files:
      Tag: schema-vocabulary-branch
	test_vocabularywidget.py 
Log Message:
- remove left-over comment
- added comment about what makeField() uses from the instance


=== Zope3/src/zope/app/browser/form/tests/test_vocabularywidget.py 1.1.2.12 => 1.1.2.13 ===
--- Zope3/src/zope/app/browser/form/tests/test_vocabularywidget.py:1.1.2.12	Tue May  6 14:56:21 2003
+++ Zope3/src/zope/app/browser/form/tests/test_vocabularywidget.py	Tue May  6 15:28:27 2003
@@ -89,9 +89,12 @@
     def setUp(self):
         PlacelessSetup.setUp(self)
         self.registerViews()
-        # multi-selection:
 
+    # makeField() uses the following class variables:
     _marker = object()
+    # defaultFieldValue -- default value for the field on the content object
+    # fieldClass -- class for the vocabulary field (VocabularyField or
+    #               VocabularyMultiField)
 
     def makeField(self, vocabulary, value=_marker):
         field = self.fieldClass(vocabulary=vocabulary, __name__="f")