chore: use correct Test class

This commit is contained in:
ruthra kumar
2025-04-15 13:29:22 +05:30
parent 21e94148db
commit 1e340ccd9c
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import frappe import frappe
from frappe import qb from frappe import qb
from frappe.tests import IntegrationTestCase from frappe.tests.utils import FrappeTestCase
from frappe.utils import add_days, flt, getdate, today from frappe.utils import add_days, flt, getdate, today
from erpnext.accounts.doctype.payment_entry.payment_entry import get_payment_entry from erpnext.accounts.doctype.payment_entry.payment_entry import get_payment_entry
@@ -9,7 +9,7 @@ from erpnext.accounts.report.customer_ledger_summary.customer_ledger_summary imp
from erpnext.accounts.test.accounts_mixin import AccountsTestMixin from erpnext.accounts.test.accounts_mixin import AccountsTestMixin
class TestCustomerLedgerSummary(AccountsTestMixin, IntegrationTestCase): class TestCustomerLedgerSummary(FrappeTestCase, AccountsTestMixin):
def setUp(self): def setUp(self):
self.create_company() self.create_company()
self.create_customer() self.create_customer()

View File

@@ -1,5 +1,5 @@
import frappe import frappe
from frappe.tests import IntegrationTestCase from frappe.tests.utils import FrappeTestCase
from frappe.utils import today from frappe.utils import today
from erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice import make_purchase_invoice from erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice import make_purchase_invoice
@@ -7,7 +7,7 @@ from erpnext.accounts.report.supplier_ledger_summary.supplier_ledger_summary imp
from erpnext.accounts.test.accounts_mixin import AccountsTestMixin from erpnext.accounts.test.accounts_mixin import AccountsTestMixin
class TestSupplierLedgerSummary(AccountsTestMixin, IntegrationTestCase): class TestSupplierLedgerSummary(FrappeTestCase, AccountsTestMixin):
def setUp(self): def setUp(self):
self.create_company() self.create_company()
self.create_supplier() self.create_supplier()