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 4027b82714
commit 33f4791698
320 changed files with 854 additions and 833 deletions

View File

@@ -1,6 +1,5 @@
import frappe
from frappe.desk.form.assign_to import add as add_assignment
from frappe.tests import IntegrationTestCase
from frappe.utils import add_months, getdate
from erpnext.support.doctype.issue.test_issue import create_customer, make_issue
@@ -8,11 +7,12 @@ from erpnext.support.doctype.service_level_agreement.test_service_level_agreemen
create_service_level_agreements_for_issues,
)
from erpnext.support.report.issue_analytics.issue_analytics import execute
from erpnext.tests.utils import ERPNextTestSuite
months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
class TestIssueAnalytics(IntegrationTestCase):
class TestIssueAnalytics(ERPNextTestSuite):
@classmethod
def setUpClass(cls):
super().setUpClass()