From 6db14d02d21010e6af3c659f8c58d52530993feb Mon Sep 17 00:00:00 2001 From: Saqib Ansari Date: Wed, 27 Jan 2021 17:11:34 +0530 Subject: [PATCH] fix: test --- .../test_tax_withholding_category.py | 11 ----------- 1 file changed, 11 deletions(-) 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 = []