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
Léo-Paul Géneau
slapos.core
Commits
6d05f594
Commit
6d05f594
authored
Sep 23, 2014
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicated test
parent
f0939bf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudAlarm.py
...eItem/portal_components/test.erp5.testSlapOSCloudAlarm.py
+1
-12
No files found.
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudAlarm.py
View file @
6d05f594
...
...
@@ -734,7 +734,7 @@ portal_workflow.doActionFor(context, action='edit_action', comment='Visited by S
self
.
portal
.
portal_workflow
.
_jumpToStateFor
(
software_instance2
,
'start_requested'
)
software_instance2
.
validate
()
self
.
tic
()
self
.
software_instance
.
setSlaXml
(
sla_xml
)
self
.
software_instance
.
SoftwareInstance_tryToAllocatePartition
()
self
.
assertEqual
(
...
...
@@ -1686,17 +1686,6 @@ class TestSlapOSGarbageCollectStoppedRootTreeAlarm(testSlapOSMixin):
instance
.
Instance_tryToStopCollect
()
self
.
assertEqual
(
'stop_requested'
,
instance
.
getSlapState
())
def
test_Instance_tryToStopCollect_started_instance
(
self
):
instance
=
self
.
createInstance
()
hosting_subscription
=
instance
.
getSpecialiseValue
()
self
.
portal
.
portal_workflow
.
_jumpToStateFor
(
hosting_subscription
,
'stop_requested'
)
self
.
assertEqual
(
'start_requested'
,
instance
.
getSlapState
())
instance
.
Instance_tryToStopCollect
()
self
.
assertEqual
(
'stop_requested'
,
instance
.
getSlapState
())
def
test_Instance_tryToStopCollect_destroyed_instance
(
self
):
instance
=
self
.
createInstance
()
hosting_subscription
=
instance
.
getSpecialiseValue
()
...
...
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