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
16
Merge Requests
16
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
74db7380
Commit
74db7380
authored
May 22, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
requestSoftwareInstance has been removed
parent
75ea2ec7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
master/product/Vifib/tests/testVifibSlapBang.py
master/product/Vifib/tests/testVifibSlapBang.py
+15
-12
No files found.
master/product/Vifib/tests/testVifibSlapBang.py
View file @
74db7380
...
...
@@ -21,8 +21,9 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
common_kw
=
dict
(
software_release
=
sequence
[
'software_release_uri'
],
software_type
=
'any'
,
instance_xml
=
self
.
minimal_correct_xml
,
shared
=
False
,
sla_xml
=
self
.
minimal_correct_xml
,
state
=
'stopped'
)
root_software_instance
.
request
SoftwareInstance
(
partition_referenc
e
=
S1
,
root_software_instance
.
request
Instance
(
software_titl
e
=
S1
,
**
common_kw
)
self
.
stepTic
()
self
.
stepCallConfirmOrderedSaleOrderAlarm
()
...
...
@@ -30,13 +31,13 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
S1_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
'Software Instance'
,
title
=
S1
)
S1_instance
.
request
SoftwareInstance
(
partition_referenc
e
=
S2
,
**
common_kw
)
S1_instance
.
request
Instance
(
software_titl
e
=
S2
,
**
common_kw
)
self
.
stepTic
()
S1_instance
.
request
SoftwareInstance
(
partition_referenc
e
=
S3
,
**
common_kw
)
S1_instance
.
request
Instance
(
software_titl
e
=
S3
,
**
common_kw
)
self
.
stepCallConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
root_software_instance
.
request
SoftwareInstance
(
partition_referenc
e
=
S4
,
root_software_instance
.
request
Instance
(
software_titl
e
=
S4
,
**
common_kw
)
self
.
stepTic
()
self
.
stepCallConfirmOrderedSaleOrderAlarm
()
...
...
@@ -379,11 +380,12 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
common_kw
=
dict
(
software_release
=
sequence
[
'software_release_uri'
],
software_type
=
'any'
,
instance_xml
=
self
.
minimal_correct_xml
,
slave
=
False
,
state
=
'stopped'
)
self
.
logout
()
self
.
login
(
sequence
[
'software_instance_reference'
])
root_software_instance
.
request
Software
Instance
(
partition_referenc
e
=
S1
,
root_software_instance
.
requestInstance
(
software_titl
e
=
S1
,
sla_xml
=
"""<?xml version='1.0' encoding='utf-8'?>
<instance>
<parameter id="computer_guid">%s</parameter>
...
...
@@ -400,8 +402,8 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
S1_reference
=
S1_instance
.
getReference
()
self
.
logout
()
self
.
login
(
S1_reference
)
S1_instance
.
request
Software
Instance
(
partition_referenc
e
=
S2
,
S1_instance
.
requestInstance
(
software_titl
e
=
S2
,
sla_xml
=
"""<?xml version='1.0' encoding='utf-8'?>
<instance>
<parameter id="computer_guid">%s</parameter>
...
...
@@ -419,8 +421,8 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
self
.
logout
()
self
.
login
(
S2_reference
)
S2_instance
.
request
Software
Instance
(
partition_referenc
e
=
S3
,
S2_instance
.
requestInstance
(
software_titl
e
=
S3
,
sla_xml
=
"""<?xml version='1.0' encoding='utf-8'?>
<instance>
<parameter id="computer_guid">%s</parameter>
...
...
@@ -653,12 +655,13 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
common_kw
=
dict
(
software_release
=
sequence
[
'software_release_uri'
],
software_type
=
'any'
,
instance_xml
=
self
.
minimal_correct_xml
,
slave
=
False
,
sla_xml
=
self
.
minimal_correct_xml
,
state
=
'stopped'
)
self
.
logout
()
self
.
login
(
sequence
[
'software_instance_reference'
])
root_software_instance
.
request
Software
Instance
(
partition_referenc
e
=
S1
,
root_software_instance
.
requestInstance
(
software_titl
e
=
S1
,
**
common_kw
)
self
.
stepTic
()
self
.
stepCallConfirmOrderedSaleOrderAlarm
()
...
...
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