mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-15 15:38:39 +00:00
test(FTA Audit File): drop redundant tearDown override
ERPNextTestSuite already calls frappe.db.rollback() in its base tearDown; overriding (even with the same call) trips the semgrep "Dont-override-teardown" rule.
This commit is contained in:
@@ -253,6 +253,3 @@ class TestFTAAuditFile(FrappeTestCase):
|
||||
self.assertTrue(result["success"])
|
||||
doc.reload()
|
||||
self.assertEqual(doc.status, "Submitted")
|
||||
|
||||
def tearDown(self):
|
||||
frappe.db.rollback()
|
||||
|
||||
Reference in New Issue
Block a user