From 037fdd6882640a0871283b7e01b451906bfb32de Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Mon, 2 Mar 2026 21:36:42 +0530 Subject: [PATCH] refactor(test): make bank clearance deterministic --- erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py b/erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py index 825db9d7713..4982177e73b 100644 --- a/erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py +++ b/erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py @@ -19,6 +19,7 @@ from erpnext.tests.utils import ERPNextTestSuite, if_lending_app_installed, if_l class TestBankClearance(ERPNextTestSuite): def setUp(self): + frappe.clear_cache() create_warehouse( warehouse_name="_Test Warehouse", properties={"parent_warehouse": "All Warehouses - _TC"},