Commit d9460bdc authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Ignore consistency check on some field

  This is probably required multiple renames or upgrade project code base
parent 5ae4b1fe
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
import unittest import unittest
from Products.ERP5Type.tests.CodingStyleTestCase import CodingStyleTestCase from Products.ERP5Type.tests.CodingStyleTestCase import CodingStyleTestCase
from Products.ERP5Type import CodingStyle
from erp5.component.test.SlapOSTestCaseMixin import SlapOSTestCaseMixin from erp5.component.test.SlapOSTestCaseMixin import SlapOSTestCaseMixin
...@@ -37,6 +38,12 @@ def makeTestSlapOSCodingStyleTestCase(tested_business_template): ...@@ -37,6 +38,12 @@ def makeTestSlapOSCodingStyleTestCase(tested_business_template):
""" """
def afterSetUp(self): def afterSetUp(self):
CodingStyleTestCase.afterSetUp(self) CodingStyleTestCase.afterSetUp(self)
CodingStyle.ignored_skin_id_set.update({
'HostingSubscription_viewConsumptionReport',
'Person_viewResourceConsumptionReport',
'SystemPreference_viewSlapOS',
'Ticket_viewAsHateoas'})
SlapOSTestCaseMixin.afterSetUp(self) SlapOSTestCaseMixin.afterSetUp(self)
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
......
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