chore: fix tests
This commit is contained in:
parent
f5e40141af
commit
61deecbd7c
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ class TestFormatter(unittest.TestCase):
|
|||
frappe.db.set_default("currency", 'INR')
|
||||
|
||||
# if currency field is not passed then default currency should be used.
|
||||
print(doc.currency)
|
||||
self.assertEqual(format(100000, df, doc, format="#,###.##"), '₹ 100,000.00')
|
||||
|
||||
doc.currency = 'USD'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue