mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 19:35:09 +00:00
refactor(test): set precision in class setup
This commit is contained in:
@@ -255,6 +255,7 @@ class ERPNextTestSuite(unittest.TestCase):
|
||||
system_settings = frappe.get_doc("System Settings")
|
||||
system_settings.time_zone = "Asia/Kolkata"
|
||||
system_settings.language = "en"
|
||||
system_settings.currency_precision = system_settings.float_precision = 2
|
||||
system_settings.save()
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user