Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Léo-Paul Géneau
slapos.core
Commits
7e635da6
Commit
7e635da6
authored
Nov 24, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Add ERP5 Login on software_instance to use the API
The API require a valid user with login
parent
3ce67a11
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
master/bt5/slapos_jio/TestTemplateItem/portal_components/test.erp5.testSlapOSHypermediaScenario.py
...rtal_components/test.erp5.testSlapOSHypermediaScenario.py
+2
-0
master/product/SlapOS/tests/testSlapOSMixin.py
master/product/SlapOS/tests/testSlapOSMixin.py
+2
-0
No files found.
master/bt5/slapos_jio/TestTemplateItem/portal_components/test.erp5.testSlapOSHypermediaScenario.py
View file @
7e635da6
...
@@ -403,6 +403,8 @@ class TestSlapOSHypermediaInstanceScenario(testSlapOSMixin):
...
@@ -403,6 +403,8 @@ class TestSlapOSHypermediaInstanceScenario(testSlapOSMixin):
def
test
(
self
):
def
test
(
self
):
self
.
_makeTree
()
self
.
_makeTree
()
instance
=
self
.
software_instance
instance
=
self
.
software_instance
self
.
portal
.
changeSkin
(
'Hal'
)
self
.
portal
.
changeSkin
(
'Hal'
)
self
.
tic
()
self
.
tic
()
...
...
master/product/SlapOS/tests/testSlapOSMixin.py
View file @
7e635da6
...
@@ -353,6 +353,8 @@ class testSlapOSMixin(ERP5TypeTestCase):
...
@@ -353,6 +353,8 @@ class testSlapOSMixin(ERP5TypeTestCase):
self
.
portal
.
portal_workflow
.
_jumpToStateFor
(
self
.
software_instance
,
'start_requested'
)
self
.
portal
.
portal_workflow
.
_jumpToStateFor
(
self
.
software_instance
,
'start_requested'
)
self
.
software_instance
.
validate
()
self
.
software_instance
.
validate
()
self
.
_addERP5Login
(
self
.
software_instance
)
self
.
requested_software_instance
.
edit
(
self
.
requested_software_instance
.
edit
(
title
=
self
.
generateNewSoftwareTitle
(),
title
=
self
.
generateNewSoftwareTitle
(),
reference
=
"TESTSI-%s"
%
self
.
generateNewId
(),
reference
=
"TESTSI-%s"
%
self
.
generateNewId
(),
...
...
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