Commit 69b2793b authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Add tests for property in the BusinessItem paths

parent 7c2c3d66
......@@ -249,6 +249,35 @@ class TestBusinessPackage(ERP5TypeTestCase):
self.assertEquals(installed_test_folder.getTitle(),
'new_couscous')
def test_useCase_prop_II(self):
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
test_folder = self._addFolderInERP5()
folder_path = test_folder.getRelativeUrl()
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList([])
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
portal_templates.installMultipleBusinessManager([managerA_new,])
# Edit title of installed test_folder
test_folder.setProperty('short_title', 'new_couscous')
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
portal_templates.installMultipleBusinessManager([managerA_new,])
# Expect the Business Manager to be there
installed_test_folder = self.portal.restrictedTraverse(folder_path)
self.assertEquals(installed_test_folder.getProperty('short_title'),
'new_couscous')
def test_useCase_III(self):
"""
Case III:
......@@ -290,6 +319,46 @@ class TestBusinessPackage(ERP5TypeTestCase):
self.assertEquals(installed_test_folder.getTitle(),
'couscous')
def test_useCase_prop_III(self):
"""
Case III:
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList([])
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
portal_templates.installMultipleBusinessManager([managerA_new,])
test_folder = self._addFolderInERP5()
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
# Unset the property from the object
test_folder.setProperty('short_title', '')
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'),
'foo')
def test_useCase_IV(self):
"""
Case IV:
......@@ -328,6 +397,44 @@ class TestBusinessPackage(ERP5TypeTestCase):
self.assertEquals(installed_test_folder.getTitle(),
'couscous')
def test_useCase_prop_IV(self):
"""
Case IV:
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList([])
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
portal_templates.installMultipleBusinessManager([managerA_new,])
test_folder = self._addFolderInERP5()
# Set property on the test_folder object
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'),
'foo')
def test_useCase_V(self):
"""
Case V:
......@@ -369,6 +476,47 @@ class TestBusinessPackage(ERP5TypeTestCase):
self.assertTrue('Trying to remove changes at ZODB at test_folder' in
context.exception)
def test_useCase_prop_V(self):
"""
Case IV:
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList([])
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
portal_templates.installMultipleBusinessManager([managerA_new,])
test_folder = self._addFolderInERP5()
# Set property on the test_folder object
test_folder.setProperty('short_title', 'new_foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', 'foo')
with self.assertRaises(ValueError) as context:
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertTrue('Trying to remove changes at ZODB at test_folder' in
context.exception)
def test_useCase_VI(self):
"""
Case VI:
......@@ -408,6 +556,51 @@ class TestBusinessPackage(ERP5TypeTestCase):
self.assertRaises(KeyError, lambda: self.portal.restrictedTraverse(folder_path))
def test_useCase_prop_VI(self):
"""
Case VI:
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
test_folder = self._addFolderInERP5()
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
# Set property at ZODB to empty again
test_folder.setProperty('short_title', '')
portal_templates.installMultipleBusinessManager([managerA_new,])
# Check if there is property installed on the test_folder
self.assertEquals(test_folder.getProperty('short_title'), 'foo')
# Now again edit the property at ZODB
test_folder.setProperty('short_title', '')
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList([])
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), '')
def test_useCase_VII(self):
"""
Case VII:
......@@ -448,6 +641,43 @@ class TestBusinessPackage(ERP5TypeTestCase):
# This should install nothing as we prefer user changes
self.assertRaises(KeyError, lambda: self.portal.restrictedTraverse(folder_path))
def test_useCase_prop_VII(self):
"""
Case VII:
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
test_folder = self._addFolderInERP5()
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', '')
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'foo')
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', '')
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertIsNone(test_folder.getProperty('short_title'), '')
def test_useCase_VIII(self):
"""
Case VIII:
......@@ -493,6 +723,49 @@ class TestBusinessPackage(ERP5TypeTestCase):
self.assertTrue('Object at test_folder removed by user' in
context.exception)
def test_useCase_prop_VIII(self):
"""
Case VIII:
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
test_folder = self._addFolderInERP5()
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', '')
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'foo')
# Edit the title of the test_folder
test_folder.setProperty('short_title', 'new_foo')
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', '')
with self.assertRaises(ValueError) as context:
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertTrue('Object at test_folder removed by user' in
context.exception)
def test_useCase_IX(self):
"""
Case IX:
......@@ -539,6 +812,47 @@ class TestBusinessPackage(ERP5TypeTestCase):
# Test that the catalogs don't exist on site anymore
self.assertRaises(KeyError, lambda: self.portal.restrictedTraverse(folder_path))
def test_useCase_prop_IX(self):
"""
Case IX:
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
test_folder = self._addFolderInERP5()
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', '')
# Install the Business Manager
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'foo')
# Set empty path item as path_item in managerA
managerA._setTemplatePathList([])
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
portal_templates.installMultipleBusinessManager([managerA_new,])
# Test that the catalogs don't exist on site anymore
self.assertIsNone(test_folder.getProperty('short_title'), '')
def test_useCase_X(self):
"""
Case X:
......@@ -582,6 +896,46 @@ class TestBusinessPackage(ERP5TypeTestCase):
installed_test_folder = self.portal.restrictedTraverse(folder_path)
self.assertEquals(installed_test_folder.getTitle(), 'couscous')
def test_useCase_prop_X(self):
"""
Case X:
A A A : A
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
test_folder = self._addFolderInERP5()
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', '')
# Install the Business Manager
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'foo')
# Copy the Business Manager object, updated version of managerA
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
# Install the updated Business Manager
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'foo')
def test_useCase_XI(self):
"""
Case XI:
......@@ -629,6 +983,50 @@ class TestBusinessPackage(ERP5TypeTestCase):
installed_test_folder = self.portal.restrictedTraverse(folder_path)
self.assertEquals(installed_test_folder.getTitle(), 'new_couscous')
def test_useCase_prop_XI(self):
"""
Case XI:
Installed ZODB edit Updated Expected ZODB
A A B: B
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
test_folder = self._addFolderInERP5()
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', '')
# Install the Business Manager
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'new_foo')
test_folder.setProperty('short_title', 'new_foo')
# Copy the Business Manager object, updated version of managerA
managerB_new, = self._copyBusinessManager([managerA.id,])
managerB_new.build()
managerB_new.setStatus('uninstalled')
test_folder.setProperty('short_title', 'foo')
# Install the updated Business Manager
portal_templates.installMultipleBusinessManager([managerB_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'new_foo')
def test_useCase_XII(self):
"""
Case XII:
......@@ -674,6 +1072,51 @@ class TestBusinessPackage(ERP5TypeTestCase):
self.assertTrue('Trying to remove changes at ZODB at test_folder' in
context.exception)
def test_useCase_prop_XII(self):
"""
Case XII:
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
test_folder = self._addFolderInERP5()
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', '')
# Install the Business Manager
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'foo')
test_folder.setProperty('short_title', 'new_foo')
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList([])
# Copy the Business Manager object, updated version of managerA
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
with self.assertRaises(ValueError) as context:
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertTrue('Trying to remove changes at ZODB at test_folder' in
context.exception)
def test_useCase_XIII(self):
"""
Case XIII:
......@@ -718,6 +1161,48 @@ class TestBusinessPackage(ERP5TypeTestCase):
installed_test_folder = self.portal.restrictedTraverse(folder_path)
self.assertEquals(installed_test_folder.getTitle(), 'new_couscous')
def test_useCase_prop_XIII(self):
"""
Case XIII:
A C A : C
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
test_folder = self._addFolderInERP5()
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', '')
# Install the Business Manager
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'foo')
# Copy the Business Manager object, updated version of managerA
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', 'new_foo')
# Install the Business Manager
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'new_foo')
def test_useCase_XIV(self):
"""
Case XIV:
......@@ -735,10 +1220,10 @@ class TestBusinessPackage(ERP5TypeTestCase):
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
# Delete the object from ZODB so as we can install the object there
......@@ -764,6 +1249,71 @@ class TestBusinessPackage(ERP5TypeTestCase):
self.assertTrue('Trying to remove changes at ZODB at test_folder' in
context.exception)
def test_useCase_prop_XIV(self):
"""
Case XIV:
A C B : ??
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
test_folder = self._addFolderInERP5()
test_folder.setProperty('short_title', 'foo')
# Add catalog to the path list for Business Manager and build the object
folder_path = test_folder.getRelativeUrl()
# Add title as the property we want to use in path_item
path_item_folder = '%s#short_title | %s | %s' % (folder_path, 1, 1)
path_item_list = [path_item_folder]
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_item_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
#manager_path = self._exportBusinessManager(managerA_new)
managerA_new.setStatus('uninstalled')
#imported_manager = self._importBusinessManager(managerA_new, manager_path, 1)
test_folder.setProperty('short_title', '')
# Install the Business Manager
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertEquals(test_folder.getProperty('short_title'), 'foo')
test_folder.setProperty('short_title', 'new_foo')
# Copy the Business Manager object, updated version of managerA
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
managerA_new.setStatus('uninstalled')
test_folder.setProperty('short_title', 'new_foo_redefined')
with self.assertRaises(ValueError) as context:
portal_templates.installMultipleBusinessManager([managerA_new,])
self.assertTrue('Trying to remove changes at ZODB at test_folder' in
context.exception)
def _migrateCatalogBTToBM(self):
"""
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.
"""
portal_templates = self.portal.portal_templates
managerA = self._createBusinessManager()
path_list = ['portal_catalog/erp5_mysql_innodb | 1 | 1',
'portal_catalog/erp5_mysql_innodb/** | 1 | 1']
# Set catalog path item as path_item in managerA
managerA._setTemplatePathList(path_list)
# Copy the Business Manager object
managerA_new, = self._copyBusinessManager([managerA.id,])
managerA_new.build()
path = self._exportBusinessManager(managerA_new)
imported_manager = self._importBusinessManager(managerA, path, 1)
def _globalInstallationOfBusinessTemplate(self):
"""
NOTE:
......
......@@ -52,32 +52,61 @@
<string>W:209, 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:233, 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:241, 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:263, 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:279, 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:304, 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:320, 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:343, 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:360, 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:390, 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:403, 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:262, 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:270, 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:292, 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:308, 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:333, 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:350, 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:373, 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:389, 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:411, 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:429, 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:439, 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:469, 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:483, 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:514, 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:533, 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:561, 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:574, 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:605, 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:619, 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:650, 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:667, 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:696, 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:709, 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:740, 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:754, 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:800, 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:839, 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:450, 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:467, 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:490, 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:508, 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:538, 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:551, 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:578, 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:596, 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:622, 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:632, 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:663, 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:672, 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:699, 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:713, 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:745, 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:757, 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:787, 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:806, 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:833, 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:847, 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:875, 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:888, 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:919, 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:930, 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:959, 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:973, 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:1007, 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:1019, 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:1048, 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:1065, 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:1094, 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:1109, 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:1139, 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:1152, 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:1184, 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:1195, 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:1224, 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:1239, 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:1271, 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:1286, 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:1312, 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:1315, 4: Unused variable \'imported_manager\' (unused-variable)</string>
<string>W:1303, 4: Unused variable \'portal_templates\' (unused-variable)</string>
<string>W:1350, 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:1389, 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