mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 08:05:00 +00:00
test: don't load test records into db during module import
This commit is contained in:
@@ -1308,4 +1308,4 @@ def get_requested_qty(item_code="_Test Item", warehouse="_Test Warehouse - _TC")
|
||||
return flt(frappe.db.get_value("Bin", {"item_code": item_code, "warehouse": warehouse}, "indented_qty"))
|
||||
|
||||
|
||||
EXTRA_TEST_RECORD_DEPENDENCIES = ["BOM", "Item Price"]
|
||||
EXTRA_TEST_RECORD_DEPENDENCIES = ["BOM", "Item Price", "Warehouse"]
|
||||
|
||||
@@ -14,8 +14,6 @@ from erpnext.manufacturing.doctype.workstation.workstation import (
|
||||
|
||||
EXTRA_TEST_RECORD_DEPENDENCIES = ["Warehouse"]
|
||||
|
||||
make_test_records("Workstation")
|
||||
|
||||
|
||||
class UnitTestWorkstation(UnitTestCase):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user