mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +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 = frappe.get_doc("System Settings")
|
||||||
system_settings.time_zone = "Asia/Kolkata"
|
system_settings.time_zone = "Asia/Kolkata"
|
||||||
system_settings.language = "en"
|
system_settings.language = "en"
|
||||||
|
system_settings.currency_precision = system_settings.float_precision = 2
|
||||||
system_settings.save()
|
system_settings.save()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user