diff --git a/erpnext/accounts/doctype/advance_payment_ledger_entry/test_advance_payment_ledger_entry.py b/erpnext/accounts/doctype/advance_payment_ledger_entry/test_advance_payment_ledger_entry.py index 779378ac47c..e8562922ada 100644 --- a/erpnext/accounts/doctype/advance_payment_ledger_entry/test_advance_payment_ledger_entry.py +++ b/erpnext/accounts/doctype/advance_payment_ledger_entry/test_advance_payment_ledger_entry.py @@ -14,8 +14,6 @@ from erpnext.selling.doctype.sales_order.test_sales_order import make_sales_orde # link-field test record depdendencies are recursively loaded # Use these module variables to add/remove to/from that list -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - class TestAdvancePaymentLedgerEntry(AccountsTestMixin, IntegrationTestCase): """ diff --git a/erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py b/erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py index db08e80a0d1..ec249c0f80b 100644 --- a/erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py +++ b/erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py @@ -5,8 +5,6 @@ import frappe from frappe.tests import IntegrationTestCase from frappe.utils import now_datetime -IGNORE_TEST_RECORD_DEPENDENCIES = ["Company"] - class TestFiscalYear(IntegrationTestCase): def test_extra_year(self): diff --git a/erpnext/accounts/doctype/payment_gateway_account/test_payment_gateway_account.py b/erpnext/accounts/doctype/payment_gateway_account/test_payment_gateway_account.py index 655bd2d7d99..ea5cc2af236 100644 --- a/erpnext/accounts/doctype/payment_gateway_account/test_payment_gateway_account.py +++ b/erpnext/accounts/doctype/payment_gateway_account/test_payment_gateway_account.py @@ -3,8 +3,6 @@ from frappe.tests import IntegrationTestCase -IGNORE_TEST_RECORD_DEPENDENCIES = ["Payment Gateway"] - class TestPaymentGatewayAccount(IntegrationTestCase): pass diff --git a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py index a7001109d1e..b28b1a2c4a8 100644 --- a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py +++ b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py @@ -38,8 +38,6 @@ from erpnext.stock.doctype.serial_and_batch_bundle.test_serial_and_batch_bundle from erpnext.stock.doctype.stock_entry.test_stock_entry import get_qty_after_transaction from erpnext.stock.tests.test_utils import StockTestMixin -IGNORE_TEST_RECORD_DEPENDENCIES = ["Serial No"] - class TestPurchaseInvoice(IntegrationTestCase, StockTestMixin): @classmethod diff --git a/erpnext/projects/doctype/project/test_project.py b/erpnext/projects/doctype/project/test_project.py index dce1db4e9b7..6ea42da60ec 100644 --- a/erpnext/projects/doctype/project/test_project.py +++ b/erpnext/projects/doctype/project/test_project.py @@ -10,8 +10,6 @@ from erpnext.selling.doctype.sales_order.sales_order import make_project as make from erpnext.selling.doctype.sales_order.test_sales_order import make_sales_order from erpnext.tests.utils import ERPNextTestSuite -IGNORE_TEST_RECORD_DEPENDENCIES = ["Sales Order"] - class TestProject(ERPNextTestSuite): @classmethod diff --git a/erpnext/selling/doctype/customer/test_customer.py b/erpnext/selling/doctype/customer/test_customer.py index 5e4a8558b76..dee74837923 100644 --- a/erpnext/selling/doctype/customer/test_customer.py +++ b/erpnext/selling/doctype/customer/test_customer.py @@ -17,8 +17,6 @@ from erpnext.selling.doctype.customer.customer import ( ) from erpnext.tests.utils import create_test_contact_and_address -IGNORE_TEST_RECORD_DEPENDENCIES = ["Price List"] - class TestCustomer(IntegrationTestCase): def tearDown(self): diff --git a/erpnext/setup/doctype/company/test_company.py b/erpnext/setup/doctype/company/test_company.py index 78b169fcf9b..5b65be71f14 100644 --- a/erpnext/setup/doctype/company/test_company.py +++ b/erpnext/setup/doctype/company/test_company.py @@ -12,14 +12,6 @@ from erpnext.accounts.doctype.account.chart_of_accounts.chart_of_accounts import ) from erpnext.setup.doctype.company.company import get_default_company_address -IGNORE_TEST_RECORD_DEPENDENCIES = [ - "Account", - "Cost Center", - "Payment Terms Template", - "Salary Component", - "Warehouse", -] - class TestCompany(IntegrationTestCase): def test_coa_based_on_existing_company(self): diff --git a/erpnext/setup/doctype/department/test_department.py b/erpnext/setup/doctype/department/test_department.py index d52d40c411b..a8d605a03a8 100644 --- a/erpnext/setup/doctype/department/test_department.py +++ b/erpnext/setup/doctype/department/test_department.py @@ -4,8 +4,6 @@ import frappe from frappe.tests import IntegrationTestCase -IGNORE_TEST_RECORD_DEPENDENCIES = ["Leave Block List"] - class TestDepartment(IntegrationTestCase): def test_remove_department_data(self): diff --git a/erpnext/stock/doctype/item/test_item.py b/erpnext/stock/doctype/item/test_item.py index c6dfa35b1ac..abfe4797806 100644 --- a/erpnext/stock/doctype/item/test_item.py +++ b/erpnext/stock/doctype/item/test_item.py @@ -28,8 +28,6 @@ from erpnext.stock.doctype.item.item import ( from erpnext.stock.doctype.stock_entry.stock_entry_utils import make_stock_entry from erpnext.stock.get_item_details import ItemDetailsCtx, get_item_details -IGNORE_TEST_RECORD_DEPENDENCIES = ["BOM"] - def make_item(item_code=None, properties=None, uoms=None, barcode=None): if not item_code: diff --git a/erpnext/stock/doctype/stock_closing_balance/test_stock_closing_balance.py b/erpnext/stock/doctype/stock_closing_balance/test_stock_closing_balance.py index f61aff6e8c4..2d0769cf496 100644 --- a/erpnext/stock/doctype/stock_closing_balance/test_stock_closing_balance.py +++ b/erpnext/stock/doctype/stock_closing_balance/test_stock_closing_balance.py @@ -8,8 +8,6 @@ from frappe.tests import IntegrationTestCase # link-field test record depdendencies are recursively loaded # Use these module variables to add/remove to/from that list -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - class IntegrationTestStockClosingBalance(IntegrationTestCase): """ diff --git a/erpnext/stock/doctype/stock_closing_entry/test_stock_closing_entry.py b/erpnext/stock/doctype/stock_closing_entry/test_stock_closing_entry.py index 7175c586c0e..db4577503e6 100644 --- a/erpnext/stock/doctype/stock_closing_entry/test_stock_closing_entry.py +++ b/erpnext/stock/doctype/stock_closing_entry/test_stock_closing_entry.py @@ -8,8 +8,6 @@ from frappe.tests import IntegrationTestCase # link-field test record depdendencies are recursively loaded # Use these module variables to add/remove to/from that list -IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] - class IntegrationTestStockClosingEntry(IntegrationTestCase): """