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
Gabriel Monnerat
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
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
random
import
random
from
Products.ERP5Type.tests.backportUnittest
import
skip
class
TestVifibSlapComputerPartitionUpdate
(
TestVifibSlapWebServiceMixin
):
def
stepRequestSoftwareInstanceUpdate
(
self
,
sequence
,
**
kw
):
...
...
@@ -21,7 +22,8 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
}
method_dict
[
instance
.
getSlapState
()](
software_release
=
instance
.
getRootSoftwareReleaseUrl
(),
instance_xml
=
instance
.
getTextContent
(),
instance_xml
=
'<?xml version="1.0"'
\
'encoding="utf-8"?><instance> </instance>'
,
software_type
=
instance
.
getSourceReference
(),
sla_xml
=
instance
.
getSlaXml
(),
shared
=
shared
,
...
...
@@ -102,7 +104,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
SlapLoginCurrentComputer
...
...
@@ -149,7 +151,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
SlapLoginCurrentComputer
...
...
@@ -195,7 +197,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
SlapLoginCurrentComputer
...
...
@@ -255,7 +257,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
SlapLoginCurrentComputer
...
...
@@ -273,7 +275,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListDelivered
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
CheckUpdateSalePackingListErrorText
Logout
...
...
@@ -372,13 +374,6 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
CheckComputerPartitionNoInstanceHostingSalePackingList
Logout
LoginDefaultUser
DeliverSalePackingList
Tic
CheckComputerPartitionInstanceSetupSalePackingListDelivered
Logout
# prepared delivered instance setup delivery
LoginTestVifibCustomer
...
...
@@ -388,6 +383,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionInstanceSetupSalePackingListDelivered
Logout
LoginERP5TypeTestCase
...
...
@@ -437,6 +433,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
@
skip
(
'Update is forbidden on destroyed instance'
)
def
test_update_not_created_confirmed_instance_cleanup
(
self
):
sequence_list
=
SequenceList
()
sequence_string
=
\
...
...
@@ -737,7 +734,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
SlapLoginCurrentComputer
...
...
@@ -766,7 +763,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
SlapLoginCurrentComputer
...
...
@@ -794,7 +791,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
CheckComputerPartitionInstanceUpdateSalePackingList
Confirm
ed
CheckComputerPartitionInstanceUpdateSalePackingList
Deliver
ed
Logout
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