CVS: Products/Zelenium/tests - test_zuite.py:1.7

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
Update of /cvs-repository/Products/Zelenium/tests
In directory cvs.zope.org:/tmp/cvs-serv31320/tests

Modified Files:
	test_zuite.py 
Log Message:
 - Harden tests against older 'transaction' module in Zope3.


=== Products/Zelenium/tests/test_zuite.py 1.6 => 1.7 ===
--- Products/Zelenium/tests/test_zuite.py:1.6	Mon May  9 15:05:06 2005
+++ Products/Zelenium/tests/test_zuite.py	Mon May  9 15:14:38 2005
@@ -11,6 +11,7 @@
     import Zope as Zope2
 Zope2.startup()
 try:
+    from transaction import begin  # in case we have an older version
     import transaction
 except ImportError:
     # BBB: for Zope 2.7

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.