refactor(test): flaky test setup in Exchange Rate Revaluation

This commit is contained in:
ruthra kumar
2025-06-20 16:52:37 +05:30
parent ce8ce10ef1
commit b00df01817

View File

@@ -30,6 +30,8 @@ class TestExchangeRateRevaluation(AccountsTestMixin, ERPNextTestSuite):
system_settings = frappe.get_doc("System Settings")
system_settings.float_precision = 2
system_settings.currency_precision = 2
system_settings.language = "en"
system_settings.time_zone = "Asia/Kolkata"
system_settings.save()
# Using Exchange Gain/Loss account for unrealized as well.