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

@@ -3,7 +3,6 @@
import unittest
import frappe
from frappe.tests import IntegrationTestCase
from frappe.utils import format_date
from frappe.utils.data import add_days, formatdate, today
@@ -13,9 +12,10 @@ from erpnext.maintenance.doctype.maintenance_schedule.maintenance_schedule impor
)
from erpnext.stock.doctype.item.test_item import create_item
from erpnext.stock.doctype.stock_entry.test_stock_entry import make_serialized_item
from erpnext.tests.utils import ERPNextTestSuite
class TestMaintenanceSchedule(IntegrationTestCase):
class TestMaintenanceSchedule(ERPNextTestSuite):
@classmethod
def setUpClass(cls):
super().setUpClass()

View File

@@ -3,11 +3,12 @@
import unittest
import frappe
from frappe.tests import IntegrationTestCase
from frappe.utils.data import today
from erpnext.tests.utils import ERPNextTestSuite
class TestMaintenanceVisit(IntegrationTestCase):
class TestMaintenanceVisit(ERPNextTestSuite):
pass