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
Ivan Tyagov
slapos.core
Commits
4cbe2a00
Commit
4cbe2a00
authored
Mar 20, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid creating needless variables.
Scenario is used one, so just do it inline.
parent
943eae0b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
30 deletions
+27
-30
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+0
-29
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
...oduct/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
+27
-1
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
4cbe2a00
...
@@ -1365,35 +1365,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -1365,35 +1365,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
RestoreComputerReference
RestoreComputerReference
"""
"""
prepare_started_slave_instance_sequence_string
=
\
prepare_started_computer_partition_sequence_string
+
"""
LoginTestVifibCustomer
PersonRequestSlaveInstance
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
Tic
SlapLogout
SlapLoginCurrentComputer
SoftwareInstanceAvailable
Tic
LoginTestVifibCustomer
RequestStopSoftwareInstanceFromCurrentComputerPartition
Tic
SoftwareInstanceStopped
Tic
StartSoftwareInstanceFromCurrentComputerPartition
Tic
SoftwareInstanceStarted
Tic
Logout
LoginDefaultUser
SetDeliveryLineAmountEqualTwo
CheckComputerPartitionInstanceHostingSalePackingListStarted
CheckComputerPartitionInstanceSetupSalePackingListStopped
Logout
"""
register_new_user_sequence_string
=
'
\
register_new_user_sequence_string
=
'
\
Logout
\
Logout
\
RequestCredentialFromWebSite
\
RequestCredentialFromWebSite
\
...
...
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
View file @
4cbe2a00
...
@@ -496,7 +496,33 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -496,7 +496,33 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
a Software Instance is destroyed
a Software Instance is destroyed
"""
"""
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_started_slave_instance_sequence_string
+
"""
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
+
"""
LoginTestVifibCustomer
PersonRequestSlaveInstance
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
Tic
SlapLogout
SlapLoginCurrentComputer
SoftwareInstanceAvailable
Tic
LoginTestVifibCustomer
RequestStopSoftwareInstanceFromCurrentComputerPartition
Tic
SoftwareInstanceStopped
Tic
StartSoftwareInstanceFromCurrentComputerPartition
Tic
SoftwareInstanceStarted
Tic
Logout
LoginDefaultUser
SetDeliveryLineAmountEqualTwo
CheckComputerPartitionInstanceHostingSalePackingListStarted
CheckComputerPartitionInstanceSetupSalePackingListStopped
Logout
LoginTestVifibCustomer
LoginTestVifibCustomer
RequestDestroySoftwareInstanceFromCurrentComputerPartition
RequestDestroySoftwareInstanceFromCurrentComputerPartition
Tic
Tic
...
...
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