chore: remove IGNORE_TEST_RECORD_DEPENDENCIES

This commit is contained in:
ruthra kumar
2025-05-13 09:27:37 +05:30
parent 8eef42d075
commit 319e220efe
11 changed files with 0 additions and 28 deletions

View File

@@ -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):
"""

View File

@@ -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):

View File

@@ -3,8 +3,6 @@
from frappe.tests import IntegrationTestCase
IGNORE_TEST_RECORD_DEPENDENCIES = ["Payment Gateway"]
class TestPaymentGatewayAccount(IntegrationTestCase):
pass

View File

@@ -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

View File

@@ -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

View File

@@ -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):

View File

@@ -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):

View File

@@ -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):

View File

@@ -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:

View File

@@ -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):
"""

View File

@@ -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):
"""