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
Richard
erp5
Commits
279685b9
Commit
279685b9
authored
Nov 09, 2011
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Followup
edf83677
but check destination as well.
parent
b33358e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
product/ERP5/tests/testERP5Simulation.py
product/ERP5/tests/testERP5Simulation.py
+7
-0
No files found.
product/ERP5/tests/testERP5Simulation.py
View file @
279685b9
...
@@ -227,6 +227,11 @@ class TestERP5Simulation(TestPackingListMixin, ERP5TypeTestCase):
...
@@ -227,6 +227,11 @@ class TestERP5Simulation(TestPackingListMixin, ERP5TypeTestCase):
packing_list1
=
packing_list
packing_list1
=
packing_list
else
:
else
:
packing_list2
=
packing_list
packing_list2
=
packing_list
destination_value
=
sequence
.
get
(
'organisation3'
)
self
.
assertEquals
(
packing_list1
.
getDestinationValue
(),
destination_value
)
self
.
assertEquals
(
packing_list2
.
getDestinationValue
(),
destination_value
)
sequence
.
edit
(
new_packing_list
=
packing_list2
)
sequence
.
edit
(
new_packing_list
=
packing_list2
)
for
line
in
packing_list1
.
objectValues
(
for
line
in
packing_list1
.
objectValues
(
portal_type
=
self
.
packing_list_line_portal_type
):
portal_type
=
self
.
packing_list_line_portal_type
):
...
@@ -251,9 +256,11 @@ class TestERP5Simulation(TestPackingListMixin, ERP5TypeTestCase):
...
@@ -251,9 +256,11 @@ class TestERP5Simulation(TestPackingListMixin, ERP5TypeTestCase):
# Test with a simply order without cell
# Test with a simply order without cell
sequence_string
=
self
.
default_sequence
+
'
\
sequence_string
=
self
.
default_sequence
+
'
\
stepIncreasePackingListLineQuantity1000
\
stepIncreasePackingListLineQuantity1000
\
stepChangePackingListDestination
\
stepCheckPackingListIsCalculating
\
stepCheckPackingListIsCalculating
\
stepTic
\
stepTic
\
stepCheckPackingListIsDiverged
\
stepCheckPackingListIsDiverged
\
stepAcceptDecisionDestination
\
stepAcceptDecisionQuantity
\
stepAcceptDecisionQuantity
\
stepCheckPackingListIsCalculating
\
stepCheckPackingListIsCalculating
\
stepTic
\
stepTic
\
...
...
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