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
Cédric Le Ninivin
slapos.core
Commits
aa968396
Commit
aa968396
authored
Jun 06, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update PL is always delivered.
parent
9d5cab31
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
16 deletions
+13
-16
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
...oduct/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
+13
-16
No files found.
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
View file @
aa968396
...
@@ -3,6 +3,7 @@ import unittest
...
@@ -3,6 +3,7 @@ import unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
random
import
random
from
random
import
random
from
Products.ERP5Type.tests.backportUnittest
import
skip
class
TestVifibSlapComputerPartitionUpdate
(
TestVifibSlapWebServiceMixin
):
class
TestVifibSlapComputerPartitionUpdate
(
TestVifibSlapWebServiceMixin
):
def
stepRequestSoftwareInstanceUpdate
(
self
,
sequence
,
**
kw
):
def
stepRequestSoftwareInstanceUpdate
(
self
,
sequence
,
**
kw
):
...
@@ -21,7 +22,8 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -21,7 +22,8 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
}
}
method_dict
[
instance
.
getSlapState
()](
method_dict
[
instance
.
getSlapState
()](
software_release
=
instance
.
getRootSoftwareReleaseUrl
(),
software_release
=
instance
.
getRootSoftwareReleaseUrl
(),
instance_xml
=
instance
.
getTextContent
(),
instance_xml
=
'<?xml version="1.0"'
\
'encoding="utf-8"?><instance> </instance>'
,
software_type
=
instance
.
getSourceReference
(),
software_type
=
instance
.
getSourceReference
(),
sla_xml
=
instance
.
getSlaXml
(),
sla_xml
=
instance
.
getSlaXml
(),
shared
=
shared
,
shared
=
shared
,
...
@@ -102,7 +104,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -102,7 +104,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
@@ -149,7 +151,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -149,7 +151,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
@@ -195,7 +197,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -195,7 +197,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
@@ -255,7 +257,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -255,7 +257,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
@@ -273,7 +275,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -273,7 +275,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListDelivered
CheckComputerPartitionInstanceHostingSalePackingListDelivered
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
CheckUpdateSalePackingListErrorText
CheckUpdateSalePackingListErrorText
Logout
Logout
...
@@ -372,13 +374,6 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -372,13 +374,6 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
CheckComputerPartitionNoInstanceHostingSalePackingList
CheckComputerPartitionNoInstanceHostingSalePackingList
Logout
Logout
LoginDefaultUser
DeliverSalePackingList
Tic
CheckComputerPartitionInstanceSetupSalePackingListDelivered
Logout
# prepared delivered instance setup delivery
# prepared delivered instance setup delivery
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -388,6 +383,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -388,6 +383,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionInstanceSetupSalePackingListDelivered
Logout
Logout
LoginERP5TypeTestCase
LoginERP5TypeTestCase
...
@@ -437,6 +433,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -437,6 +433,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
@
skip
(
'Update is forbidden on destroyed instance'
)
def
test_update_not_created_confirmed_instance_cleanup
(
self
):
def
test_update_not_created_confirmed_instance_cleanup
(
self
):
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
\
sequence_string
=
\
...
@@ -737,7 +734,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -737,7 +734,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
@@ -766,7 +763,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -766,7 +763,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
@@ -794,7 +791,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -794,7 +791,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
...
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