Commit 0fdc6091 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

CodingStyleTestCase: check all installed business templates.

parent d53f0248
Pipeline #33641 failed with stage
in 0 seconds
......@@ -62,10 +62,9 @@ class CodingStyleTestCase(ERP5TypeTestCase):
"""
Return the list of business templates to be
checked for consistency. By default, return
the last business template of the
list of installed business templates.
all installed business templates.
"""
return self.getBusinessTemplateList()[-1:]
return self.getBusinessTemplateList()
def afterSetUp(self):
self.login()
......
......@@ -51,10 +51,9 @@ class Python3StyleTest(ERP5TypeTestCase):
"""
Return the list of business templates to be
checked for consistency. By default, return
the last business template of the
list of installed business templates.
all installed business templates.
"""
return self.getBusinessTemplateList()[-1:]
return self.getBusinessTemplateList()
def _testFixer(self, fixer_name):
"""check fixer is applied on given path
......
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