Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
dbe2055b
Commit
dbe2055b
authored
Dec 17, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Can not destroy from draft state.
parent
889793a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingInteractionWorkflow.py
...stTemplateItem/testSlapOSAccountingInteractionWorkflow.py
+4
-1
master/bt5/slapos_accounting/bt/revision
master/bt5/slapos_accounting/bt/revision
+1
-1
No files found.
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingInteractionWorkflow.py
View file @
dbe2055b
...
...
@@ -319,6 +319,7 @@ portal_workflow.doActionFor(context, action='edit_action', comment='Visited by D
shared
=
False
,
)
subscription
.
requestStart
(
**
request_kw
)
subscription
.
converge
()
self
.
assertEqual
(
subscription
.
getCausalityState
(),
'solved'
)
subscription
.
requestDestroy
(
**
request_kw
)
...
...
@@ -333,7 +334,6 @@ portal_workflow.doActionFor(context, action='edit_action', comment='Visited by D
)
subscription
.
validate
()
self
.
assertEqual
(
subscription
.
getCausalityState
(),
'diverged'
)
request_kw
=
dict
(
software_release
=
'http://example.org'
,
...
...
@@ -343,5 +343,8 @@ portal_workflow.doActionFor(context, action='edit_action', comment='Visited by D
shared
=
False
,
)
subscription
.
requestStart
(
**
request_kw
)
self
.
assertEqual
(
subscription
.
getCausalityState
(),
'diverged'
)
subscription
.
requestDestroy
(
**
request_kw
)
self
.
assertEqual
(
subscription
.
getCausalityState
(),
'diverged'
)
master/bt5/slapos_accounting/bt/revision
View file @
dbe2055b
235
\ No newline at end of file
236
\ No newline at end of file
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