Commit 1389eb46 authored by Jérome Perrin's avatar Jérome Perrin

mistake in previous commit, it was unable to find business templates in

$INSTANCE_HOME/bt5/*/



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15588 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eacbecf5
......@@ -159,7 +159,7 @@ def addTestMethodDynamically():
if not ( os.path.exists(business_template) or
os.path.exists('%s.bt5' % business_template)):
# try in $INSTANCE_HOME/bt5/*/
business_template_glob_list = glob('%s/*/%s' % (i, business_template))
business_template_glob_list = glob('%s/*/%s' % (bt5_base_path, i))
if business_template_glob_list:
business_template = business_template_glob_list[0]
......
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