mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-20 09:49:58 +00:00
test: reuse BootStrapTestData master data to reduce runtime
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@ class TestNegativeBatchReport(ERPNextTestSuite):
|
||||
frappe._dict(
|
||||
{
|
||||
"company": "_Test Company",
|
||||
"warehouse": "_Test Warehouse - _TC",
|
||||
"warehouse": "Stores - _TC",
|
||||
"item_code": item_code,
|
||||
}
|
||||
)
|
||||
@@ -35,14 +35,14 @@ class TestNegativeBatchReport(ERPNextTestSuite):
|
||||
|
||||
make_stock_entry(
|
||||
item_code=item,
|
||||
to_warehouse="_Test Warehouse - _TC",
|
||||
to_warehouse="Stores - _TC",
|
||||
qty=10,
|
||||
rate=100,
|
||||
posting_date="2026-06-01",
|
||||
)
|
||||
make_stock_entry(
|
||||
item_code=item,
|
||||
from_warehouse="_Test Warehouse - _TC",
|
||||
from_warehouse="Stores - _TC",
|
||||
qty=4,
|
||||
posting_date="2026-06-02",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user