diff --git a/product/ERP5Type/tests/runUnitTest.py b/product/ERP5Type/tests/runUnitTest.py
index 0f5c77cf412ed956f139d41969ca50746055fc61..3c1ae5300ee470c12dbefa58e322f48103ad3be0 100755
--- a/product/ERP5Type/tests/runUnitTest.py
+++ b/product/ERP5Type/tests/runUnitTest.py
@@ -314,6 +314,7 @@ def runUnitTestList(test_list, verbosity=1, debug=0):
   import App.config
   cfg = App.config.getConfiguration()
   cfg.testinghome = instance_home
+  cfg.instancehome = instance_home
   App.config.setConfiguration(cfg)
 
   if WIN: