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
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
Ludovic Kiefer
erp5
Commits
5f5bea1a
Commit
5f5bea1a
authored
Oct 03, 2019
by
Xiaowu Zhang
Committed by
Xiaowu Zhang
Apr 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testBPMCore: update test for...
testBPMCore: update test for
nexedi/erp5@9e530f6a
parent
98710a09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/tests/testBPMCore.py
product/ERP5/tests/testBPMCore.py
+2
-2
No files found.
product/ERP5/tests/testBPMCore.py
View file @
5f5bea1a
...
@@ -430,13 +430,13 @@ class TestBPMImplementation(TestBPMDummyDeliveryMovementMixin):
...
@@ -430,13 +430,13 @@ class TestBPMImplementation(TestBPMDummyDeliveryMovementMixin):
self
.
assertEqual
([
path_node
.
getRelativeUrl
()],
self
.
assertEqual
([
path_node
.
getRelativeUrl
()],
business_path
.
getArrowCategoryDict
(
context
=
context_movement
)[
'source'
])
business_path
.
getArrowCategoryDict
(
context
=
context_movement
)[
'source'
])
def
test_BusinessPathDynamicCategoryAccessProviderEmptyMovement
(
self
):
def
test_BusinessPathDynamicCategoryAccessProvider
No
EmptyMovement
(
self
):
business_path
=
self
.
createTradeModelPath
()
business_path
=
self
.
createTradeModelPath
()
business_path
.
setSourceMethodId
(
'TradeModelPath_getDefaultSourceList'
)
business_path
.
setSourceMethodId
(
'TradeModelPath_getDefaultSourceList'
)
context_movement
=
self
.
createMovement
()
context_movement
=
self
.
createMovement
()
self
.
assertEqual
(
None
,
business_path
.
getSourceValue
())
self
.
assertEqual
(
None
,
business_path
.
getSourceValue
())
self
.
assert
Fals
e
(
business_path
.
getArrowCategoryDict
(
context
=
context_movement
).
has_key
(
'source'
))
self
.
assert
Tru
e
(
business_path
.
getArrowCategoryDict
(
context
=
context_movement
).
has_key
(
'source'
))
def
test_BusinessState_getRemainingTradePhaseList
(
self
):
def
test_BusinessState_getRemainingTradePhaseList
(
self
):
"""
"""
...
...
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