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

Fred L. Drake, Jr. fred@zope.com
Fri, 30 May 2003 12:10:32 -0400


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

Modified Files:
	test_vocabularywidget.py 
Log Message:
Finally really fix the get/have/setData() methods.
These are trickier than they should have to be.


=== Zope3/src/zope/app/browser/form/tests/test_vocabularywidget.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/browser/form/tests/test_vocabularywidget.py:1.10	Fri May 30 02:10:57 2003
+++ Zope3/src/zope/app/browser/form/tests/test_vocabularywidget.py	Fri May 30 12:10:32 2003
@@ -425,7 +425,7 @@
     def test_edit(self):
         bound = self.makeField(BasicVocabulary(["splat", "foobar", "frob"]))
         w = getView(bound, "edit", self.makeRequest())
-        self.assert_(w.haveData())
+        self.assert_(not w.haveData())
         self.verifyResult(w(), [
             'id="field.f"',
             'name="field.f:list"',