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
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
3a306036
Commit
3a306036
authored
May 03, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup
ad22fdcc
parent
6ccd3b55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+4
-4
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
3a306036
...
...
@@ -598,16 +598,16 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
kw
[
'software_type'
]
=
sequence
.
get
(
'requested_software_type'
,
'requested_software_type'
)
if
'state'
not
in
kw
:
kw
[
'state'
]
=
sequence
.
get
(
'software_instance_state'
)
kw
[
'state'
]
=
sequence
.
get
(
'software_instance_state'
,
'started'
)
person
.
requestSoftwareInstance
(
software_release
=
software_release
.
getUrlString
(),
software_title
=
software_title
,
software_type
=
"RootSoftwareInstance"
,
software_type
=
kw
[
'software_type'
]
,
instance_xml
=
self
.
minimal_correct_xml
,
sla_xml
=
sequence
.
get
(
'sla_xml'
),
shared
=
False
,
state
=
"started"
)
shared
=
kw
.
get
(
'shared'
,
False
)
,
state
=
kw
[
'state'
]
)
transaction
.
commit
()
self
.
tic
()
# Note: This is tricky part. Workflow methods does not return nothing
...
...
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