Commit 0d2b5448 authored by Jérome Perrin's avatar Jérome Perrin

testTemplateTool: remove some useless variables

parent 40964db1
......@@ -56,11 +56,8 @@ def _create_default_https_context(purpose=ssl.Purpose.SERVER_AUTH, cafile=None,
ssl._create_default_https_context = _create_default_https_context
class TestTemplateTool(ERP5TypeTestCase):
"""Test the template tool
"""
Test the template tool
"""
run_all_test = 1
quiet = 1
test_tool_id = 'test_portal_templates'
def getBusinessTemplateList(self):
......@@ -109,7 +106,7 @@ class TestTemplateTool(ERP5TypeTestCase):
if m.method_id == 'Folder_reindexAll']
self.assertEqual(len(message_list), 0)
def testUpdateBT5FromRepository(self, quiet=quiet, run=run_all_test):
def testUpdateBT5FromRepository(self):
""" Test the list of bt5 returned for upgrade """
# edit bt5 revision so that it will be marked as updatable
erp5_base = self.templates_tool.getInstalledBusinessTemplate('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