From e005d7021b2d25bf4f9bb398bf9f490923ef688c Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 26 Jun 2026 13:28:00 +0530 Subject: [PATCH] test: reuse BootStrapTestData master data to reduce runtime Co-Authored-By: Claude Opus 4.8 (1M context) --- .../test_stock_and_account_value_comparison.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/stock/report/stock_and_account_value_comparison/test_stock_and_account_value_comparison.py b/erpnext/stock/report/stock_and_account_value_comparison/test_stock_and_account_value_comparison.py index ffff5411e90..314a1aa16f3 100644 --- a/erpnext/stock/report/stock_and_account_value_comparison/test_stock_and_account_value_comparison.py +++ b/erpnext/stock/report/stock_and_account_value_comparison/test_stock_and_account_value_comparison.py @@ -3,7 +3,6 @@ import frappe -from erpnext.stock.doctype.item.test_item import make_item from erpnext.stock.doctype.stock_entry.stock_entry_utils import make_stock_entry from erpnext.stock.doctype.warehouse.test_warehouse import create_warehouse from erpnext.stock.report.stock_and_account_value_comparison.stock_and_account_value_comparison import ( @@ -18,7 +17,7 @@ class TestStockAndAccountValueComparison(ERPNextTestSuite): def test_balanced_warehouse_not_flagged(self): warehouse = create_warehouse("_Test SAVC WH", company=COMPANY) account = frappe.get_value("Warehouse", warehouse, "account") - item = make_item(properties={"is_stock_item": 1}).name + item = "_Test Item" make_stock_entry( item_code=item,