mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-31 15:32:27 +00:00
chore: remove redundant declarations of test_records
This commit is contained in:
@@ -4,8 +4,6 @@ import unittest
|
||||
|
||||
from frappe.tests import IntegrationTestCase
|
||||
|
||||
# test_records = frappe.get_test_records('Authorization Rule')
|
||||
|
||||
|
||||
class TestAuthorizationRule(IntegrationTestCase):
|
||||
pass
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
import frappe
|
||||
|
||||
test_records = frappe.get_test_records("Branch")
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
import frappe
|
||||
|
||||
test_records = frappe.get_test_records("Brand")
|
||||
|
||||
@@ -5,5 +5,3 @@ IGNORE_TEST_RECORD_DEPENDENCIES = ["Price List"]
|
||||
|
||||
|
||||
import frappe
|
||||
|
||||
test_records = frappe.get_test_records("Customer Group")
|
||||
|
||||
@@ -26,6 +26,3 @@ def create_department(department_name, parent_department=None):
|
||||
).insert()
|
||||
|
||||
return doc
|
||||
|
||||
|
||||
test_records = frappe.get_test_records("Department")
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
|
||||
import frappe
|
||||
|
||||
# test_records = frappe.get_test_records('Designation')
|
||||
|
||||
|
||||
def create_designation(**args):
|
||||
args = frappe._dict(args)
|
||||
|
||||
@@ -4,8 +4,6 @@ import unittest
|
||||
|
||||
from frappe.tests import IntegrationTestCase
|
||||
|
||||
# test_records = frappe.get_test_records('Email Digest')
|
||||
|
||||
|
||||
class TestEmailDigest(IntegrationTestCase):
|
||||
pass
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -4,8 +4,6 @@ import unittest
|
||||
|
||||
from frappe.tests import IntegrationTestCase
|
||||
|
||||
# test_records = frappe.get_test_records('Party Type')
|
||||
|
||||
|
||||
class TestPartyType(IntegrationTestCase):
|
||||
pass
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
import frappe
|
||||
|
||||
test_records = frappe.get_test_records("Print Heading")
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
import frappe
|
||||
|
||||
test_records = frappe.get_test_records("Quotation Lost Reason")
|
||||
|
||||
@@ -3,6 +3,4 @@
|
||||
|
||||
import frappe
|
||||
|
||||
test_records = frappe.get_test_records("Sales Partner")
|
||||
|
||||
IGNORE_TEST_RECORD_DEPENDENCIES = ["Item Group"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
# See license.txt
|
||||
|
||||
import frappe
|
||||
|
||||
test_records = frappe.get_test_records("Supplier Group")
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
import frappe
|
||||
|
||||
test_records = frappe.get_test_records("Terms and Conditions")
|
||||
|
||||
@@ -3,6 +3,4 @@
|
||||
|
||||
import frappe
|
||||
|
||||
test_records = frappe.get_test_records("Territory")
|
||||
|
||||
IGNORE_TEST_RECORD_DEPENDENCIES = ["Item Group"]
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
import frappe
|
||||
|
||||
test_records = frappe.get_test_records("UOM")
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user