mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-14 07:01:56 +00:00
fix: use correct import
This commit is contained in:
@@ -5,14 +5,14 @@ import frappe
|
|||||||
|
|
||||||
from erpnext.stock.doctype.stock_entry.stock_entry_utils import make_stock_entry
|
from erpnext.stock.doctype.stock_entry.stock_entry_utils import make_stock_entry
|
||||||
from erpnext.stock.report.stock_ledger_invariant_check.stock_ledger_invariant_check import execute
|
from erpnext.stock.report.stock_ledger_invariant_check.stock_ledger_invariant_check import execute
|
||||||
from erpnext.tests.utils import ERPNextTestSuite
|
from erpnext.tests.utils import FrappeTestCase
|
||||||
|
|
||||||
WAREHOUSE = "Stores - _TC"
|
WAREHOUSE = "Stores - _TC"
|
||||||
COMPANY = "_Test Company"
|
COMPANY = "_Test Company"
|
||||||
ITEM = "_Test Item"
|
ITEM = "_Test Item"
|
||||||
|
|
||||||
|
|
||||||
class TestStockLedgerInvariantCheck(ERPNextTestSuite):
|
class TestStockLedgerInvariantCheck(FrappeTestCase):
|
||||||
def run_report(self, **extra):
|
def run_report(self, **extra):
|
||||||
filters = frappe._dict({"company": COMPANY, "warehouse": WAREHOUSE})
|
filters = frappe._dict({"company": COMPANY, "warehouse": WAREHOUSE})
|
||||||
filters.update(extra)
|
filters.update(extra)
|
||||||
|
|||||||
Reference in New Issue
Block a user