Commit 827e354b authored by Nicolas Wavrant's avatar Nicolas Wavrant

test.erp5.testUpgrader.py: the bt5list update in afterSetup() includes the...

test.erp5.testUpgrader.py: the bt5list update in afterSetup() includes the case of several business templates locations
parent f8a96301
...@@ -70,9 +70,10 @@ class TestUpgrader(ERP5TypeTestCase): ...@@ -70,9 +70,10 @@ class TestUpgrader(ERP5TypeTestCase):
# update the bt5list will be updated to the version of the filesystem # update the bt5list will be updated to the version of the filesystem
bootstrap_path = os.environ.get('erp5_tests_bootstrap_path') or \ bootstrap_path = os.environ.get('erp5_tests_bootstrap_path') or \
ERP5Site.getBootstrapDirectory() ERP5Site.getBootstrapDirectory()
bt5_path_list = os.environ['erp5_tests_bt5_path'] # the path list can contain several directories in projects
repository_list = [bt5_path_list, ] bt5_path_list = os.environ['erp5_tests_bt5_path'].split(',')
genbt5list(dir_list=[bootstrap_path, bt5_path_list]) bt5_path_list.append(bootstrap_path)
genbt5list(dir_list=bt5_path_list)
self.tic() self.tic()
def stepClearCache(self, sequence=None): def stepClearCache(self, sequence=None):
......
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