fix(test): tax detail report (#25884)

This commit is contained in:
Rucha Mahabal 2021-05-29 23:18:36 +05:30 committed by GitHub
parent 6038663bf8
commit 05d5fb24f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,10 +71,8 @@ class TestTaxDetail(unittest.TestCase):
def rm_testdocs(self):
"Remove the Company and all data"
from erpnext.setup.doctype.company.delete_company_transactions import delete_company_transactions
delete_company_transactions(self.company.name)
self.company.delete()
from erpnext.setup.doctype.company.company import create_transaction_deletion_request
create_transaction_deletion_request(self.company.name)
def test_report(self):
self.load_testdocs()