Author: gchapelle
Date: Sun Jan 29 00:41:47 2006
New Revision: 2231

Modified:
   azax/trunk/config.py
   azax/trunk/tests/test_azaxresponse.py
Log:
use lxml installed as a Zope Product

Modified: azax/trunk/config.py
==============================================================================
--- azax/trunk/config.py        (original)
+++ azax/trunk/config.py        Sun Jan 29 00:41:47 2006
@@ -2,7 +2,7 @@
 # ElemenTree or maybe even cElementTree
 
 try:
-    from lxml import etree
+    from Products.lxml import etree
 except ImportError:
     try:
         import cElementTree as etree

Modified: azax/trunk/tests/test_azaxresponse.py
==============================================================================
--- azax/trunk/tests/test_azaxresponse.py       (original)
+++ azax/trunk/tests/test_azaxresponse.py       Sun Jan 29 00:41:47 2006
@@ -116,7 +116,7 @@
 
 class LxmlTestCase(AzaxResponseTestCase):
     def afterSetUp(self):
-        from lxml import etree
+        from Products.lxml import etree
         config.etree = etree
 
     def test_etree(self):
@@ -125,7 +125,7 @@
 def test_suite():
     suites = []
     try:
-        from lxml import etree
+        from Products.lxml import etree
     except ImportError:
         pass
     else:
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to