Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
1c564eb0
Commit
1c564eb0
authored
Sep 08, 2021
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_trade: improve assertion error message to identify run case
parent
839c47c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
bt5/erp5_trade/TestTemplateItem/portal_components/test.erp5.testResource.py
...tTemplateItem/portal_components/test.erp5.testResource.py
+5
-1
No files found.
bt5/erp5_trade/TestTemplateItem/portal_components/test.erp5.testResource.py
View file @
1c564eb0
...
...
@@ -1324,7 +1324,11 @@ class TestResource(ERP5TypeTestCase):
resource_value
=
product
,
quantity
=
quantity
,
)
self
.
assertEqual
(
price
,
sale_order_line
.
getPrice
())
self
.
assertEqual
(
price
,
sale_order_line
.
getPrice
(),
"quantity: %s | price: %s, sale_order_line.getPrice(): %s,"
%
(
quantity
,
price
,
sale_order_line
.
getPrice
()
))
self
.
assertEqual
(
total_price
,
round
(
sale_order_line
.
getTotalPrice
(),
currency
.
getQuantityPrecision
())
...
...
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