Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
140
Merge Requests
140
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
b2e718b8
Commit
b2e718b8
authored
Jan 06, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revise tests to follow event_simulation_workflow spec.
parent
d135f0d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5Configurator/tests/ConfiguratorTestMixin.py
product/ERP5Configurator/tests/ConfiguratorTestMixin.py
+4
-4
No files found.
product/ERP5Configurator/tests/ConfiguratorTestMixin.py
View file @
b2e718b8
...
...
@@ -617,7 +617,7 @@ class TestLiveConfiguratorWorkflowMixin(SecurityTestCase):
self
.
failUnlessUserCanPassWorkflowTransition
(
username
,
'cancel_action'
,
event
)
# everybody can
submit
# everybody can
plan
for
username
in
self
.
all_username_list
:
self
.
failUnlessUserCanPassWorkflowTransition
(
username
,
'plan_action'
,
event
)
...
...
@@ -625,17 +625,17 @@ class TestLiveConfiguratorWorkflowMixin(SecurityTestCase):
event
.
plan
()
self
.
assertEquals
(
'planned'
,
event
.
getSimulationState
())
# everybody can
request or post a submitt
ed event
# everybody can
confirm or send a plann
ed event
for
username
in
self
.
all_username_list
:
self
.
failUnlessUserCanPassWorkflowTransition
(
username
,
'
order
_action'
,
event
)
username
,
'
confirm
_action'
,
event
)
self
.
failUnlessUserCanPassWorkflowTransition
(
username
,
'start_action'
,
event
)
event
.
start
()
self
.
assertEquals
(
'started'
,
event
.
getSimulationState
())
# everybody can deliver a
posted
event
# everybody can deliver a
sent
event
for
username
in
self
.
all_username_list
:
self
.
failUnlessUserCanPassWorkflowTransition
(
username
,
'deliver_action'
,
event
)
...
...
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