diff --git a/product/ERP5Type/tests/runUnitTest.py b/product/ERP5Type/tests/runUnitTest.py
index 1785bdb936b10ce521a2ff10be59b89d5da2b4b2..7959b5dc42c5d1451446ca721010949fc2534419 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: