[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/ftests/test_ Removed unneeded _p_jar.syncs -- done in conjunction with work on XXXs.

Garrett Smith garrett at mojave-corp.com
Thu Jul 8 19:06:19 EDT 2004


Log message for revision 26267:
Removed unneeded _p_jar.syncs -- done in conjunction with work on XXXs.


-=-
Modified: Zope3/trunk/src/zope/app/form/browser/ftests/test_checkboxwidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/ftests/test_checkboxwidget.py	2004-07-08 22:52:26 UTC (rev 26266)
+++ Zope3/trunk/src/zope/app/form/browser/ftests/test_checkboxwidget.py	2004-07-08 23:06:19 UTC (rev 26267)
@@ -94,7 +94,6 @@
 
         # check new values in object
         object = traverse(self.getRootFolder(), 'test')
-        object._p_jar.sync()
         self.assertEqual(object.b1, False)
         self.assertEqual(object.b2, True)
 
@@ -116,7 +115,6 @@
 
         # values other than 'on' should be treated as False
         object = traverse(self.getRootFolder(), 'test')
-        object._p_jar.sync()
         self.assertEqual(object.b1, False)
         self.assertEqual(object.b2, False)
 
@@ -141,7 +139,6 @@
 
         # confirm b1 is not missing
         object = traverse(self.getRootFolder(), 'test')
-        object._p_jar.sync()
         self.assert_(object.b1 != Bool.missing_value)
 
 

Modified: Zope3/trunk/src/zope/app/form/browser/ftests/test_datetimewidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/ftests/test_datetimewidget.py	2004-07-08 22:52:26 UTC (rev 26266)
+++ Zope3/trunk/src/zope/app/form/browser/ftests/test_datetimewidget.py	2004-07-08 23:06:19 UTC (rev 26267)
@@ -126,7 +126,6 @@
 
         # check new values in object
         object = traverse(self.getRootFolder(), 'test')
-        object._p_jar.sync()
 
         self.assertEqual(object.d1, d1)
         self.assertEqual(object.d2, d2)
@@ -147,7 +146,6 @@
 
         # check new values in object
         object = traverse(self.getRootFolder(), 'test')
-        object._p_jar.sync()
         self.assert_(object.d2 is None) # default missing_value for dates
         # 2000-1-1 is missing_value for d3
         self.assertEqual(object.d3, datetime(2000, 1, 1, tzinfo=tzinfo(0)))
@@ -225,7 +223,6 @@
 
         # check new value in object
         object = traverse(self.getRootFolder(), 'test')
-        object._p_jar.sync()
         self.assertEqual(object.d1, d1)
         self.assert_(object.d2 is None)
         self.assertEqual(object.d3, d3)



More information about the Zope3-Checkins mailing list