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
Arnaud Véron
slapos.core
Commits
c3f25f12
Commit
c3f25f12
authored
May 29, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Vifib always return partition list
parent
1f744b05
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
46 deletions
+36
-46
master/product/Vifib/tests/testVifibSlapBang.py
master/product/Vifib/tests/testVifibSlapBang.py
+8
-8
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
...ib/tests/testVifibSlapComputerGetComputerPartitionList.py
+14
-14
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
...oduct/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
+12
-12
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+0
-10
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
...oduct/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
+2
-2
No files found.
master/product/Vifib/tests/testVifibSlapBang.py
View file @
c3f25f12
...
@@ -143,7 +143,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -143,7 +143,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
FinishSoftwareInstanceTree
FinishSoftwareInstanceTree
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -166,7 +166,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -166,7 +166,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -189,7 +189,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -189,7 +189,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -249,7 +249,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -249,7 +249,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
ComputerBang
ComputerBang
Tic
Tic
SlapLogout
SlapLogout
...
@@ -319,7 +319,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -319,7 +319,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
SlapLoginTestVifibCustomer
SlapLoginTestVifibCustomer
...
@@ -570,7 +570,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -570,7 +570,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
ComputerBang
ComputerBang
Tic
Tic
SlapLogout
SlapLogout
...
@@ -624,7 +624,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -624,7 +624,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
ComputerBang
ComputerBang
Tic
Tic
SlapLogout
SlapLogout
...
@@ -706,7 +706,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -706,7 +706,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
FinishSoftwareInstancePartlyDestroyedTree
FinishSoftwareInstancePartlyDestroyedTree
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
ComputerBang
ComputerBang
Tic
Tic
SlapLogout
SlapLogout
...
...
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
View file @
c3f25f12
...
@@ -18,7 +18,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -18,7 +18,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_computer
+
'
\
sequence_string
=
self
.
prepare_computer
+
'
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
@@ -35,7 +35,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -35,7 +35,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_formated_computer
+
'
\
sequence_string
=
self
.
prepare_formated_computer
+
'
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
@@ -100,7 +100,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -100,7 +100,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
Logout
\
Logout
\
'
+
self
.
prepare_computer
+
'
\
'
+
self
.
prepare_computer
+
'
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
@@ -156,7 +156,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -156,7 +156,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
CheckComputerPartitionInstanceCleanupSalePackingListCancelled
\
CheckComputerPartitionInstanceCleanupSalePackingListCancelled
\
Logout
\
Logout
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
@@ -217,7 +217,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -217,7 +217,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
CheckComputerPartitionInstanceCleanupSalePackingListDoesNotExists
\
CheckComputerPartitionInstanceCleanupSalePackingListDoesNotExists
\
Logout
\
Logout
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
@@ -261,7 +261,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -261,7 +261,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
Logout
\
Logout
\
\
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
@@ -284,7 +284,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -284,7 +284,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
Logout
\
Logout
\
\
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
@@ -318,7 +318,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -318,7 +318,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
+
'
\
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
+
'
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
@@ -337,7 +337,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -337,7 +337,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
+
'
\
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
+
'
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
\
\
LoginTestVifibCustomer
\
LoginTestVifibCustomer
\
...
@@ -367,7 +367,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -367,7 +367,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
Logout
\
Logout
\
\
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
\
\
LoginTestVifibCustomer
\
LoginTestVifibCustomer
\
...
@@ -397,7 +397,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -397,7 +397,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
Logout
\
Logout
\
\
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
\
\
LoginTestVifibCustomer
\
LoginTestVifibCustomer
\
...
@@ -416,7 +416,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -416,7 +416,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
CheckComputerPartitionInstanceHostingSalePackingListDelivered
\
CheckComputerPartitionInstanceHostingSalePackingListDelivered
\
Logout
\
Logout
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
@@ -465,7 +465,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -465,7 +465,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_stopped_computer_partition_sequence_string
+
'
\
sequence_string
=
self
.
prepare_stopped_computer_partition_sequence_string
+
'
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
@@ -570,7 +570,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -570,7 +570,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_destroyed_computer_partition
+
'
\
sequence_string
=
self
.
prepare_destroyed_computer_partition
+
'
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
Check
Empty
ComputerGetComputerPartitionCall
\
Check
Success
ComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
CheckSiteConsistency
\
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
View file @
c3f25f12
...
@@ -75,7 +75,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -75,7 +75,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
# prepared initally stopped instance
# prepared initally stopped instance
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -107,7 +107,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -107,7 +107,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
LoginERP5TypeTestCase
...
@@ -122,7 +122,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -122,7 +122,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
\
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
\
+
"""
+
"""
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -153,7 +153,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -153,7 +153,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
LoginERP5TypeTestCase
...
@@ -168,7 +168,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -168,7 +168,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
sequence_string
=
self
.
prepare_stopped_computer_partition_sequence_string
\
sequence_string
=
self
.
prepare_stopped_computer_partition_sequence_string
\
+
"""
+
"""
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -199,7 +199,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -199,7 +199,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
LoginERP5TypeTestCase
...
@@ -228,7 +228,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -228,7 +228,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
sequence_string
=
self
.
prepare_stopped_computer_partition_sequence_string
\
sequence_string
=
self
.
prepare_stopped_computer_partition_sequence_string
\
+
"""
+
"""
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -693,7 +693,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -693,7 +693,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
sequence_string
=
\
sequence_string
=
\
self
.
prepare_started_computer_partition_sequence_string
+
"""
self
.
prepare_started_computer_partition_sequence_string
+
"""
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -722,7 +722,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -722,7 +722,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
sequence_string
=
\
sequence_string
=
\
self
.
prepare_started_computer_partition_sequence_string
+
"""
self
.
prepare_started_computer_partition_sequence_string
+
"""
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -750,7 +750,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -750,7 +750,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
sequence_string
=
\
sequence_string
=
\
self
.
prepare_started_computer_partition_sequence_string
+
"""
self
.
prepare_started_computer_partition_sequence_string
+
"""
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -778,7 +778,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -778,7 +778,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
sequence_string
=
\
sequence_string
=
\
self
.
prepare_started_computer_partition_sequence_string
+
"""
self
.
prepare_started_computer_partition_sequence_string
+
"""
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -791,7 +791,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -791,7 +791,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
LoginERP5TypeTestCase
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
c3f25f12
...
@@ -1855,16 +1855,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -1855,16 +1855,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
computer
=
self
.
slap
.
registerComputer
(
computer_guid
)
computer
=
self
.
slap
.
registerComputer
(
computer_guid
)
self
.
assertRaises
(
slap
.
NotFoundError
,
computer
.
getComputerPartitionList
)
self
.
assertRaises
(
slap
.
NotFoundError
,
computer
.
getComputerPartitionList
)
def
stepCheckEmptyComputerGetComputerPartitionCall
(
self
,
sequence
,
**
kw
):
"""
Check that Computer.getComputerPartitionList is successfully called.
"""
computer_guid
=
sequence
[
"computer_reference"
]
self
.
slap
=
slap
.
slap
()
self
.
slap
.
initializeConnection
(
self
.
server_url
,
timeout
=
None
)
computer
=
self
.
slap
.
registerComputer
(
computer_guid
)
self
.
assertEquals
([],
computer
.
getComputerPartitionList
())
def
stepSelectYetAnotherRequestedReference
(
self
,
sequence
,
**
kw
):
def
stepSelectYetAnotherRequestedReference
(
self
,
sequence
,
**
kw
):
sequence
.
edit
(
requested_reference
=
'yet_another_requested_reference'
)
sequence
.
edit
(
requested_reference
=
'yet_another_requested_reference'
)
...
...
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
View file @
c3f25f12
...
@@ -508,7 +508,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -508,7 +508,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
+
"""
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
+
"""
SlapLoginCurrentComputer
SlapLoginCurrentComputer
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
SetSoftwareTitleRandom
SetSoftwareTitleRandom
...
@@ -755,7 +755,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -755,7 +755,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
SoftwareInstanceStarted
SoftwareInstanceStarted
Tic
Tic
Check
Empty
ComputerGetComputerPartitionCall
Check
Success
ComputerGetComputerPartitionCall
SlapLogout
SlapLogout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
...
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