Skip to content

Commit

Permalink
test: don't load test records into db during module import
Browse files Browse the repository at this point in the history
test: don't load test records into db during module import
  • Loading branch information
blaggacao authored Oct 11, 2024
2 parents 8beee19 + d32326f commit d8b0b92
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 0 additions & 2 deletions erpnext/manufacturing/doctype/workstation/test_workstation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

EXTRA_TEST_RECORD_DEPENDENCIES = ["Warehouse"]

make_test_records("Workstation")


class UnitTestWorkstation(UnitTestCase):
"""
Expand Down

0 comments on commit d8b0b92

Please sign in to comment.