mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +00:00
chore: remove IGNORE_TEST_RECORD_DEPENDENCIES
This commit is contained in:
@@ -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
|
# link-field test record depdendencies are recursively loaded
|
||||||
# Use these module variables to add/remove to/from that list
|
# Use these module variables to add/remove to/from that list
|
||||||
|
|
||||||
IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"]
|
|
||||||
|
|
||||||
|
|
||||||
class TestAdvancePaymentLedgerEntry(AccountsTestMixin, IntegrationTestCase):
|
class TestAdvancePaymentLedgerEntry(AccountsTestMixin, IntegrationTestCase):
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ import frappe
|
|||||||
from frappe.tests import IntegrationTestCase
|
from frappe.tests import IntegrationTestCase
|
||||||
from frappe.utils import now_datetime
|
from frappe.utils import now_datetime
|
||||||
|
|
||||||
IGNORE_TEST_RECORD_DEPENDENCIES = ["Company"]
|
|
||||||
|
|
||||||
|
|
||||||
class TestFiscalYear(IntegrationTestCase):
|
class TestFiscalYear(IntegrationTestCase):
|
||||||
def test_extra_year(self):
|
def test_extra_year(self):
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
from frappe.tests import IntegrationTestCase
|
from frappe.tests import IntegrationTestCase
|
||||||
|
|
||||||
IGNORE_TEST_RECORD_DEPENDENCIES = ["Payment Gateway"]
|
|
||||||
|
|
||||||
|
|
||||||
class TestPaymentGatewayAccount(IntegrationTestCase):
|
class TestPaymentGatewayAccount(IntegrationTestCase):
|
||||||
pass
|
pass
|
||||||
|
|||||||
@@ -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.doctype.stock_entry.test_stock_entry import get_qty_after_transaction
|
||||||
from erpnext.stock.tests.test_utils import StockTestMixin
|
from erpnext.stock.tests.test_utils import StockTestMixin
|
||||||
|
|
||||||
IGNORE_TEST_RECORD_DEPENDENCIES = ["Serial No"]
|
|
||||||
|
|
||||||
|
|
||||||
class TestPurchaseInvoice(IntegrationTestCase, StockTestMixin):
|
class TestPurchaseInvoice(IntegrationTestCase, StockTestMixin):
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -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.selling.doctype.sales_order.test_sales_order import make_sales_order
|
||||||
from erpnext.tests.utils import ERPNextTestSuite
|
from erpnext.tests.utils import ERPNextTestSuite
|
||||||
|
|
||||||
IGNORE_TEST_RECORD_DEPENDENCIES = ["Sales Order"]
|
|
||||||
|
|
||||||
|
|
||||||
class TestProject(ERPNextTestSuite):
|
class TestProject(ERPNextTestSuite):
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ from erpnext.selling.doctype.customer.customer import (
|
|||||||
)
|
)
|
||||||
from erpnext.tests.utils import create_test_contact_and_address
|
from erpnext.tests.utils import create_test_contact_and_address
|
||||||
|
|
||||||
IGNORE_TEST_RECORD_DEPENDENCIES = ["Price List"]
|
|
||||||
|
|
||||||
|
|
||||||
class TestCustomer(IntegrationTestCase):
|
class TestCustomer(IntegrationTestCase):
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
|||||||
@@ -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
|
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):
|
class TestCompany(IntegrationTestCase):
|
||||||
def test_coa_based_on_existing_company(self):
|
def test_coa_based_on_existing_company(self):
|
||||||
|
|||||||
@@ -4,8 +4,6 @@
|
|||||||
import frappe
|
import frappe
|
||||||
from frappe.tests import IntegrationTestCase
|
from frappe.tests import IntegrationTestCase
|
||||||
|
|
||||||
IGNORE_TEST_RECORD_DEPENDENCIES = ["Leave Block List"]
|
|
||||||
|
|
||||||
|
|
||||||
class TestDepartment(IntegrationTestCase):
|
class TestDepartment(IntegrationTestCase):
|
||||||
def test_remove_department_data(self):
|
def test_remove_department_data(self):
|
||||||
|
|||||||
@@ -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.doctype.stock_entry.stock_entry_utils import make_stock_entry
|
||||||
from erpnext.stock.get_item_details import ItemDetailsCtx, get_item_details
|
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):
|
def make_item(item_code=None, properties=None, uoms=None, barcode=None):
|
||||||
if not item_code:
|
if not item_code:
|
||||||
|
|||||||
@@ -8,8 +8,6 @@ from frappe.tests import IntegrationTestCase
|
|||||||
# link-field test record depdendencies are recursively loaded
|
# link-field test record depdendencies are recursively loaded
|
||||||
# Use these module variables to add/remove to/from that list
|
# Use these module variables to add/remove to/from that list
|
||||||
|
|
||||||
IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"]
|
|
||||||
|
|
||||||
|
|
||||||
class IntegrationTestStockClosingBalance(IntegrationTestCase):
|
class IntegrationTestStockClosingBalance(IntegrationTestCase):
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -8,8 +8,6 @@ from frappe.tests import IntegrationTestCase
|
|||||||
# link-field test record depdendencies are recursively loaded
|
# link-field test record depdendencies are recursively loaded
|
||||||
# Use these module variables to add/remove to/from that list
|
# Use these module variables to add/remove to/from that list
|
||||||
|
|
||||||
IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"]
|
|
||||||
|
|
||||||
|
|
||||||
class IntegrationTestStockClosingEntry(IntegrationTestCase):
|
class IntegrationTestStockClosingEntry(IntegrationTestCase):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user