From 8fc5a5b912be21c50bec7c87c30de12740c27a07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Poulain?= <herve@nexedi.com>
Date: Tue, 24 Nov 2009 10:11:20 +0000
Subject: [PATCH] Give a priority to the new path software home ERP5 rather
 than Zope.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30838 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/tests/runUnitTest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Type/tests/runUnitTest.py b/product/ERP5Type/tests/runUnitTest.py
index 1785bdb936..7959b5dc42 100755
--- a/product/ERP5Type/tests/runUnitTest.py
+++ b/product/ERP5Type/tests/runUnitTest.py
@@ -166,10 +166,10 @@ else:
     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/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/lib64/zope/lib/python'):
+    zope_home = '/usr/lib64/zope'
   elif os.path.isdir('/usr/lib/zope2.8/lib/python'):
     zope_home = '/usr/lib/zope2.8'
   else:
-- 
2.30.9