Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
02e073f5
Commit
02e073f5
authored
Aug 12, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_access_token: Include missing getBusinessTemplateList
parent
cb4e6245
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
bt5/erp5_access_token/TestTemplateItem/testERP5AccessTokenAlarm.py
...access_token/TestTemplateItem/testERP5AccessTokenAlarm.py
+4
-0
bt5/erp5_access_token/TestTemplateItem/testERP5AccessTokenSkins.py
...access_token/TestTemplateItem/testERP5AccessTokenSkins.py
+4
-0
bt5/erp5_access_token/bt/revision
bt5/erp5_access_token/bt/revision
+1
-1
No files found.
bt5/erp5_access_token/TestTemplateItem/testERP5AccessTokenAlarm.py
View file @
02e073f5
...
@@ -4,6 +4,10 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
...
@@ -4,6 +4,10 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
class
TestERP5AccessTokenAlarm
(
ERP5TypeTestCase
):
class
TestERP5AccessTokenAlarm
(
ERP5TypeTestCase
):
def
getBusinessTemplateList
(
self
):
return
(
'erp5_base'
,
'erp5_access_token'
)
def
test_alarm_old_validated_restricted_access_token
(
self
):
def
test_alarm_old_validated_restricted_access_token
(
self
):
access_token
=
self
.
portal
.
access_token_module
.
newContent
(
access_token
=
self
.
portal
.
access_token_module
.
newContent
(
portal_type
=
"One Time Restricted Access Token"
,
portal_type
=
"One Time Restricted Access Token"
,
...
...
bt5/erp5_access_token/TestTemplateItem/testERP5AccessTokenSkins.py
View file @
02e073f5
...
@@ -6,6 +6,10 @@ import transaction
...
@@ -6,6 +6,10 @@ import transaction
class
TestERP5AccessTokenSkins
(
ERP5TypeTestCase
):
class
TestERP5AccessTokenSkins
(
ERP5TypeTestCase
):
test_token_extraction_id
=
'test_erp5_access_token_extraction'
test_token_extraction_id
=
'test_erp5_access_token_extraction'
def
getBusinessTemplateList
(
self
):
return
(
'erp5_base'
,
'erp5_access_token'
)
def
generateNewId
(
self
):
def
generateNewId
(
self
):
return
str
(
self
.
portal
.
portal_ids
.
generateNewId
(
return
str
(
self
.
portal
.
portal_ids
.
generateNewId
(
...
...
bt5/erp5_access_token/bt/revision
View file @
02e073f5
6
7
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment