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

Fred L. Drake, Jr. fred@zope.com
Fri, 30 May 2003 02:11:28 -0400


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

Modified Files:
	test_vocabularywidget.py 
Log Message:
Refactoring of the multi-select vocabulary field:
- define 4 concrete types covering uniqueness constraints (whether a value
  may appear multiple times) and ordering support (whether theres

=== Zope3/src/zope/app/browser/form/tests/test_vocabularywidget.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/browser/form/tests/test_vocabularywidget.py:1.9	Thu May 29 18:23:18 2003
+++ Zope3/src/zope/app/browser/form/tests/test_vocabularywidget.py	Fri May 30 02:10:57 2003
@@ -368,7 +368,7 @@
     """Test cases for basic multi-selection widgets."""
 
     defaultFieldValue = ["splat"]
-    fieldClass = vocabulary.VocabularyMultiField
+    fieldClass = vocabulary.VocabularyListField
 
     def test_display_without_value(self):
         bound = self.makeField(BasicVocabulary(["splat", "foobar", "frob"]),
@@ -540,7 +540,7 @@
     """Query support tests for multi-selection widgets."""
 
     defaultFieldValue = ["splat"]
-    fieldClass = vocabulary.VocabularyMultiField
+    fieldClass = vocabulary.VocabularyListField
     queryViewLabel = "multi"
 
     def registerViews(self):