mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] account_reconciliation_widget: use NON_BREAKING_SPACE in test
This commit is contained in:
@@ -4,6 +4,7 @@ import time
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
import odoo.tests
|
import odoo.tests
|
||||||
|
from odoo.tools.misc import NON_BREAKING_SPACE
|
||||||
|
|
||||||
from odoo.addons.account.tests.common import TestAccountReconciliationCommon
|
from odoo.addons.account.tests.common import TestAccountReconciliationCommon
|
||||||
|
|
||||||
@@ -99,7 +100,8 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
|||||||
bank_stmt_line.ids
|
bank_stmt_line.ids
|
||||||
)
|
)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
result["lines"][0]["reconciliation_proposition"][0]["amount_str"], "$ 50.00"
|
result["lines"][0]["reconciliation_proposition"][0]["amount_str"],
|
||||||
|
f"${NON_BREAKING_SPACE}50.00",
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_filter_partner1(self):
|
def test_filter_partner1(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user