refactor: replace IntegrationTestCase with ERPNextTestCase repo-wide

- import ERPNextTestSuite
 - use it on test class
This commit is contained in:
ruthra kumar
2026-01-20 10:12:06 +05:30
parent 0fdc961a4b
commit f1dfac417d
319 changed files with 870 additions and 867 deletions

View File

@@ -1,5 +1,6 @@
import frappe
from frappe.tests import IntegrationTestCase
from erpnext.tests.utils import ERPNextTestSuite
INDEXED_FIELDS = {
"Bin": ["item_code"],
@@ -8,7 +9,7 @@ INDEXED_FIELDS = {
}
class TestPerformance(IntegrationTestCase):
class TestPerformance(ERPNextTestSuite):
def test_ensure_indexes(self):
# These fields are not explicitly indexed BUT they are prefix in some
# other composite index. If those are removed this test should be