refactor(test): remove even more dead code

(cherry picked from commit 3d109571ee)
This commit is contained in:
ruthra kumar
2026-06-17 08:23:31 +05:30
parent 65202d2be1
commit a8aa73baae
3 changed files with 0 additions and 37 deletions

View File

@@ -54,7 +54,6 @@ class TestAccountsController(ERPNextTestSuite):
self.customer = "_Test Customer USD"
self.supplier = "_Test Supplier USD"
self.create_account()
self.clear_old_entries()
frappe.flags.is_reverse_depr_entry = False
def create_account(self):
@@ -243,18 +242,6 @@ class TestAccountsController(ERPNextTestSuite):
pinv.submit()
return pinv
def clear_old_entries(self):
doctype_list = [
"GL Entry",
"Payment Ledger Entry",
"Sales Invoice",
"Purchase Invoice",
"Payment Entry",
"Journal Entry",
]
for doctype in doctype_list:
qb.from_(qb.DocType(doctype)).delete().where(qb.DocType(doctype).company == self.company).run()
def create_payment_reconciliation(self):
pr = frappe.new_doc("Payment Reconciliation")
pr.company = self.company