mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-03 08:32:24 +00:00
refactor: replace IntegrationTestCase with ERPNextTestCase repo-wide
- import ERPNextTestSuite - use it on test class
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user