[Zope-CVS] CVS: Products/Ape/apelib/tests - zope2testbase.py:1.5

Shane Hathaway shane@zope.com
Sat, 29 Mar 2003 21:15:44 -0500


Update of /cvs-repository/Products/Ape/apelib/tests
In directory cvs.zope.org:/tmp/cvs-serv7510/tests

Modified Files:
	zope2testbase.py 
Log Message:
- Finished the plumbing for writing template and script files in text
mode.

- Fixed an intermittent conflict error resulting from mismanagement of
SQL-based modification times.


=== Products/Ape/apelib/tests/zope2testbase.py 1.4 => 1.5 ===
--- Products/Ape/apelib/tests/zope2testbase.py:1.4	Sat Mar 29 17:27:50 2003
+++ Products/Ape/apelib/tests/zope2testbase.py	Sat Mar 29 21:15:13 2003
@@ -535,6 +535,8 @@
         try:
             now = time.time()
             app = conn.root()['Application']
+            app.title = 'Testing'
+            get_transaction().commit()
             self.assert_(app._p_mtime > now - 10)
             self.assert_(app._p_mtime < now + 10)
         finally: