Commit 90e4a800 authored by Yusei Tahara's avatar Yusei Tahara

Fixed business template path to adjust the test server environment.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15320 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 722ead38
...@@ -38,6 +38,7 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase ...@@ -38,6 +38,7 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from AccessControl.SecurityManagement import newSecurityManager from AccessControl.SecurityManagement import newSecurityManager
from zLOG import LOG from zLOG import LOG
from glob import glob
import time import time
try: try:
...@@ -49,7 +50,7 @@ except ImportError: ...@@ -49,7 +50,7 @@ except ImportError:
# Test Setting # Test Setting
# #
INSTANCE_HOME = os.environ['INSTANCE_HOME'] INSTANCE_HOME = os.environ['INSTANCE_HOME']
bt5_path = os.path.join(INSTANCE_HOME, 'bt5') bt5_path = glob(os.path.join(INSTANCE_HOME, 'bt5', '*'))[0]
# dependency order # dependency order
target_business_templates = ( target_business_templates = (
'erp5_base', 'erp5_base',
......
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