refactor: use cls.globalTestRecords instead of declaring test_records

This commit is contained in:
David
2024-10-11 04:58:12 +02:00
parent d8b0b92925
commit 56c99fe7e1
32 changed files with 220 additions and 284 deletions

View File

@@ -5,7 +5,7 @@ from frappe.tests import IntegrationTestCase
from erpnext import encode_company_abbr
test_records = frappe.get_test_records("Company")
EXTRA_TEST_RECORD_DEPENDENCIES = ["Company"]
class TestInit(IntegrationTestCase):