Merge lp:~camptocamp/account-budgeting/7.0-fix_red_test-afe into lp:~account-core-editors/account-budgeting/7.0

Proposed by Alexandre Fayolle - camptocamp
Status: Merged
Merged at revision: 75
Proposed branch: lp:~camptocamp/account-budgeting/7.0-fix_red_test-afe
Merge into: lp:~account-core-editors/account-budgeting/7.0
Diff against target: 9 lines (+1/-1)
1 file modified
budget/test/analytic_amount.yml (+1/-1)
To merge this branch: bzr merge lp:~camptocamp/account-budgeting/7.0-fix_red_test-afe
Reviewer Review Type Date Requested Status
Romain Deheele - Camptocamp (community) code review Approve
Matthieu Dietrich @ camptocamp (community) Approve
Account Core Editors Pending
Review via email: mp+224602@code.launchpad.net

Description of the change

fix failing test

I think the failure is caused by a typo in the test source code.

To post a comment you must log in.
Revision history for this message
Matthieu Dietrich @ camptocamp (mdietrich-c2c) wrote :

LGTM (similar to the other fix)

review: Approve
Revision history for this message
Romain Deheele - Camptocamp (romaindeheele) wrote :

LGTM too,
Romain

review: Approve (code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'budget/test/analytic_amount.yml'
2--- budget/test/analytic_amount.yml 2014-04-23 13:53:39 +0000
3+++ budget/test/analytic_amount.yml 2014-06-26 11:51:38 +0000
4@@ -60,5 +60,5 @@
5 line = self.browse(cr, uid, ref('budget_line_1'))
6 assert abs(line.analytic_amount + 200.0) < 1e-4, "Analytic amount is not correct! -200.0 != %s" % line.analytic_amount
7 assert abs(line.analytic_real_amount + 12.0) < 1e-4, "Analytic real amount is not correct! -12.0 != %s" % line.analytic_real_amount
8- assert abs(line.analytic_diff_amount + 188.0) < 1e-4, "Analytic diff amount is not correct! 188.0 != %s" % line.analytic_diff_amount
9+ assert abs(line.analytic_diff_amount - 188.0) < 1e-4, "Analytic diff amount is not correct! 188.0 != %s" % line.analytic_diff_amount
10

Subscribers

People subscribed via source and target branches