From 9734329094b5275d52d08b1d8edc9eb5d980aa9d Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Tue, 19 Apr 2022 14:04:10 +0530 Subject: [PATCH] test: discard local future SLE cache between tests --- .../doctype/stock_reconciliation/test_stock_reconciliation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py index 5e4c86aef1..e826e003c2 100644 --- a/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py +++ b/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py @@ -31,6 +31,7 @@ class TestStockReconciliation(FrappeTestCase): def tearDown(self): frappe.flags.dont_execute_stock_reposts = None + frappe.local.future_sle = {} def test_reco_for_fifo(self): self._test_reco_sle_gle("FIFO")