diff --git a/erpnext/accounts/doctype/tax_withholding_category/test_tax_withholding_category.py b/erpnext/accounts/doctype/tax_withholding_category/test_tax_withholding_category.py index 2b387f965a..ef77674372 100644 --- a/erpnext/accounts/doctype/tax_withholding_category/test_tax_withholding_category.py +++ b/erpnext/accounts/doctype/tax_withholding_category/test_tax_withholding_category.py @@ -18,17 +18,6 @@ class TestTaxWithholdingCategory(unittest.TestCase): create_records() create_tax_with_holding_category() - def tearDown(self): - frappe.db.sql('delete from `tabPurchase Invoice` where supplier = "Test TDS Supplier"') - frappe.db.sql('delete from `tabPurchase Invoice` where supplier = "Test TDS Supplier1"') - frappe.db.sql('delete from `tabPurchase Invoice` where supplier = "Test TDS Supplier2"') - frappe.db.sql('delete from `tabPurchase Invoice` where supplier = "Test TDS Supplier ABC"') - - frappe.db.sql('delete from `tabGL Entry` where party = "Test TDS Supplier"') - frappe.db.sql('delete from `tabGL Entry` where party = "Test TDS Supplier1"') - frappe.db.sql('delete from `tabGL Entry` where party = "Test TDS Supplier2"') - frappe.db.sql('delete from `tabGL Entry` where party = "Test TDS Supplier ABC"') - def test_cumulative_threshold_tds(self): frappe.db.set_value("Supplier", "Test TDS Supplier", "tax_withholding_category", "Cumulative Threshold TDS") invoices = []