Commit 706ccb3a authored by Julien Muchembled's avatar Julien Muchembled

bin/runUnitTest: prevent Testing from importing Zope2.App instead of App

parent faeeea1f
...@@ -240,6 +240,7 @@ entry-points = ...@@ -240,6 +240,7 @@ entry-points =
scripts = runUnitTest scripts = runUnitTest
initialization = initialization =
import glob, imp, os, sys import glob, imp, os, sys
import App # prevent Testing from importing Zope2.App instead of App
import Products import Products
Products.__path__[:0] = filter(None, Products.__path__[:0] = filter(None,
os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep)) os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment