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

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

View File

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

View File

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

View File

@@ -5,5 +5,3 @@ IGNORE_TEST_RECORD_DEPENDENCIES = ["Price List"]
import frappe
test_records = frappe.get_test_records("Customer Group")

View File

@@ -26,6 +26,3 @@ def create_department(department_name, parent_department=None):
).insert()
return doc
test_records = frappe.get_test_records("Department")

View File

@@ -3,8 +3,6 @@
import frappe
# test_records = frappe.get_test_records('Designation')
def create_designation(**args):
args = frappe._dict(args)

View File

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

View File

@@ -9,8 +9,6 @@ from frappe.tests import IntegrationTestCase
import erpnext
from erpnext.setup.doctype.employee.employee import InactiveEmployeeStatusError
test_records = frappe.get_test_records("Employee")
class TestEmployee(IntegrationTestCase):
def test_employee_status_left(self):

View File

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

View File

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

View File

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

View File

@@ -3,6 +3,4 @@
import frappe
test_records = frappe.get_test_records("Sales Partner")
IGNORE_TEST_RECORD_DEPENDENCIES = ["Item Group"]

View File

@@ -5,6 +5,4 @@ EXTRA_TEST_RECORD_DEPENDENCIES = ["Employee"]
import frappe
test_records = frappe.get_test_records("Sales Person")
IGNORE_TEST_RECORD_DEPENDENCIES = ["Item Group"]

View File

@@ -2,5 +2,3 @@
# See license.txt
import frappe
test_records = frappe.get_test_records("Supplier Group")

View File

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

View File

@@ -3,6 +3,4 @@
import frappe
test_records = frappe.get_test_records("Territory")
IGNORE_TEST_RECORD_DEPENDENCIES = ["Item Group"]

View File

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

View File

@@ -6,8 +6,6 @@ import frappe
from frappe.tests import IntegrationTestCase
from frappe.utils import random_string
# test_records = frappe.get_test_records('Vehicle')
class TestVehicle(IntegrationTestCase):
def test_make_vehicle(self):