[Erp5-report] r30838 - /erp5/trunk/products/ERP5Type/tests/runUnitTest.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Nov 24 11:11:21 CET 2009
Author: herve.poulain
Date: Tue Nov 24 11:11:20 2009
New Revision: 30838
URL: http://svn.erp5.org?rev=30838&view=rev
Log:
Give a priority to the new path software home ERP5 rather than Zope.
Modified:
erp5/trunk/products/ERP5Type/tests/runUnitTest.py
Modified: erp5/trunk/products/ERP5Type/tests/runUnitTest.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/runUnitTest.py?rev=30838&r1=30837&r2=30838&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/runUnitTest.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/runUnitTest.py [utf8] Tue Nov 24 11:11:20 2009
@@ -166,10 +166,10 @@
erp5_home = os.path.sep.join(
tests_framework_home.split(os.path.sep)[:-4])
zope_home = os.path.join(erp5_home, 'Zope')
+ elif os.path.isdir('/usr/lib/erp5/lib/python'):
+ zope_home = '/usr/lib/erp5'
elif os.path.isdir('/usr/lib64/zope/lib/python'):
zope_home = '/usr/lib64/zope'
- elif os.path.isdir('/usr/lib/erp5/lib/python'):
- zope_home = '/usr/lib/erp5'
elif os.path.isdir('/usr/lib/zope2.8/lib/python'):
zope_home = '/usr/lib/zope2.8'
else:
More information about the Erp5-report
mailing list