Commit 0587f7c8 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Move erp5_business_package BT to bootstrap directory.

This is important as we need this BT during creating new erp5-site and
we are only able to look for it in the bootstrap directory if we use
the function getBootstrapBusinessTemplateUrl from ERP5Site.
parent 8c1b4f44
......@@ -16,6 +16,10 @@
<key> <string>description</string> </key>
<value> <string>Simplified version of Business Template</string> </value>
</item>
<item>
<key> <string>filter_content_types</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Business Manager</string> </value>
......
......@@ -1346,18 +1346,9 @@ class TestBusinessPackage(ERP5TypeTestCase):
Try to export-import-install erp5_mysql_innodb_catalog BT to BM. This
would help to keep track of the erp5_catalog which we use.
"""
manager_A = self._createBusinessManager()
portal_templates = self.portal.portal_templates
path_item_list = [
'person_module | 1 | 1',
]
manager_A.setProperty('template_path_list' ,path_item_list)
self.tic()
portal_templates.migrateBTToBM('/srv/slapgrid/slappart16/srv/runner/software/43d62734835a4a6fe6c005cf13c62653/parts/erp5/product/ERP5/bootstrap/erp5_core')
portal = self.portal
portal_templates = portal.portal_templates
portal_templates.migrateBTToBM('/srv/slapgrid/slappart99/srv/runner/software/4310f5d661b87ce9e2281dbf4c784ed5/parts/erp5/Products/ERP5/bootstrap/erp5_core')
def _globalInstallationOfBusinessTemplate(self):
"""
......
......@@ -103,8 +103,8 @@
<string>W:1269, 4: Possible unbalanced tuple unpacking with sequence defined at line 142: left side has 1 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking)</string>
<string>W:1284, 4: Possible unbalanced tuple unpacking with sequence defined at line 142: left side has 1 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking)</string>
<string>W:1340, 4: Unused variable \'imported_manager\' (unused-variable)</string>
<string>W:1395, 4: Possible unbalanced tuple unpacking with sequence defined at line 142: left side has 2 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking)</string>
<string>W:1434, 4: Possible unbalanced tuple unpacking with sequence defined at line 142: left side has 2 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking)</string>
<string>W:1386, 4: Possible unbalanced tuple unpacking with sequence defined at line 142: left side has 2 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking)</string>
<string>W:1425, 4: Possible unbalanced tuple unpacking with sequence defined at line 142: left side has 2 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking)</string>
</tuple>
</value>
</item>
......
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