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
Łukasz Nowak
slapos.core
Commits
42ad1f29
Commit
42ad1f29
authored
Mar 27, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cover cases of cleanup resource and building call.
parent
3f90f1e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
92 additions
and
0 deletions
+92
-0
master/product/Vifib/tests/testVifibSlapSoftwareReleaseBuilding.py
...oduct/Vifib/tests/testVifibSlapSoftwareReleaseBuilding.py
+92
-0
No files found.
master/product/Vifib/tests/testVifibSlapSoftwareReleaseBuilding.py
View file @
42ad1f29
...
...
@@ -46,6 +46,20 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_SoftwareRelease_building_CleanupResource_ConfirmedState
(
self
):
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_software_release_cleanup_purchase_packing_list
+
'
\
SlapLoginCurrentComputer
\
CheckNotFoundSoftwareReleaseBuildingCall
\
Tic
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_SoftwareRelease_building_SetupResource_CancelledState
(
self
):
"""
Check that calling SoftwareRelease.building works in
...
...
@@ -70,6 +84,24 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_SoftwareRelease_building_CleanupResource_CancelledState
(
self
):
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_software_release_cleanup_purchase_packing_list
+
'
\
LoginDefaultUser
\
CancelPurchasePackingList
\
Tic
\
Logout
\
SlapLoginCurrentComputer
\
CheckNotFoundSoftwareReleaseBuildingCall
\
Tic
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_SoftwareRelease_building_SetupResource_StartedState
(
self
):
"""
Check that calling SoftwareRelease.building works in
...
...
@@ -95,6 +127,24 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_SoftwareRelease_building_CleanupResource_StartedState
(
self
):
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_software_release_cleanup_purchase_packing_list
+
'
\
LoginDefaultUser
\
StartPurchasePackingList
\
Tic
\
Logout
\
SlapLoginCurrentComputer
\
CheckNotFoundSoftwareReleaseBuildingCall
\
Tic
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_SoftwareRelease_building_SetupResource_StoppedState
(
self
):
"""
Check that calling SoftwareRelease.building works in
...
...
@@ -121,6 +171,26 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_SoftwareRelease_building_CleanupResource_StoppedState
(
self
):
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_software_release_cleanup_purchase_packing_list
+
'
\
LoginDefaultUser
\
StartPurchasePackingList
\
Tic
\
StopPurchasePackingList
\
Tic
\
Logout
\
SlapLoginCurrentComputer
\
CheckNotFoundSoftwareReleaseBuildingCall
\
Tic
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_SoftwareRelease_building_SetupResource_DeliveredState
(
self
):
"""
Check that calling SoftwareRelease.building works in
...
...
@@ -148,6 +218,28 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_SoftwareRelease_building_CleanupResource_DeliveredState
(
self
):
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_software_release_cleanup_purchase_packing_list
+
'
\
LoginDefaultUser
\
StartPurchasePackingList
\
Tic
\
StopPurchasePackingList
\
Tic
\
DeliverPurchasePackingList
\
Tic
\
Logout
\
SlapLoginCurrentComputer
\
CheckNotFoundSoftwareReleaseBuildingCall
\
Tic
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_SoftwareRelease_building_twoPurchasePackingList
(
self
):
"""
Check that calling SoftwareRelease.building uses the Purchase Packing List
...
...
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