Commit 02e073f5 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_access_token: Include missing getBusinessTemplateList

parent cb4e6245
......@@ -4,6 +4,10 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
class TestERP5AccessTokenAlarm(ERP5TypeTestCase):
def getBusinessTemplateList(self):
return ('erp5_base',
'erp5_access_token')
def test_alarm_old_validated_restricted_access_token(self):
access_token = self.portal.access_token_module.newContent(
portal_type="One Time Restricted Access Token",
......
......@@ -6,6 +6,10 @@ import transaction
class TestERP5AccessTokenSkins(ERP5TypeTestCase):
test_token_extraction_id = 'test_erp5_access_token_extraction'
def getBusinessTemplateList(self):
return ('erp5_base',
'erp5_access_token')
def generateNewId(self):
return str(self.portal.portal_ids.generateNewId(
......
6
\ No newline at end of file
7
\ No newline at end of file
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