Commit 71d948d9 authored by Jérome Perrin's avatar Jérome Perrin

test/CodingStyle: document/cleanup a bit CodingStyleTestCase

* explain how to use
* remove useless getTitle method
* fix indentation
parent c634ff12
......@@ -32,18 +32,16 @@ from Testing import ZopeTestCase
from Acquisition import aq_base
class CodingStyleTestCase(ERP5TypeTestCase):
"""XXX
"""Test case to test coding style in business templates.
Subclasses must override:
* getBusinessTemplateList to list business template to install.
* getTestedBusinessTemplateList to list business templates to test.
"""
manager_username = 'zope'
manager_password = 'zope'
website_id = 'test'
def getTitle(self):
"""
Override this method in implementation class.
"""
raise NotImplementedError
def getBusinessTemplateList(self):
"""
Return the list of required business templates.
......
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