chore: remove redundant declarations of test_records

This commit is contained in:
David
2024-10-11 04:03:46 +02:00
parent 922b5d1be5
commit a2d22c3f42
52 changed files with 2 additions and 101 deletions

View File

@@ -20,7 +20,6 @@ from erpnext.tests.utils import create_test_contact_and_address
IGNORE_TEST_RECORD_DEPENDENCIES = ["Price List"]
EXTRA_TEST_RECORD_DEPENDENCIES = ["Payment Term", "Payment Terms Template"]
test_records = frappe.get_test_records("Customer")
class UnitTestCustomer(UnitTestCase):

View File

@@ -2,5 +2,3 @@
# License: GNU General Public License v3. See license.txt
import frappe
test_records = frappe.get_test_records("Industry Type")

View File

@@ -4,8 +4,6 @@ import unittest
from frappe.tests import IntegrationTestCase
# test_records = frappe.get_test_records('Installation Note')
class TestInstallationNote(IntegrationTestCase):
pass

View File

@@ -3,8 +3,6 @@
import frappe
test_records = frappe.get_test_records("Product Bundle")
def make_product_bundle(parent, items, qty=None):
if frappe.db.exists("Product Bundle", parent):