fix: Add tearDownClass()

(cherry picked from commit 4918e9533b)
This commit is contained in:
GangaManoj
2021-10-10 03:51:35 +05:30
committed by mergify-bot
parent e28a7f11b7
commit 3cc8dd2b47

View File

@@ -25,6 +25,10 @@ class AssetSetup(unittest.TestCase):
create_asset_data()
frappe.db.sql("delete from `tabTax Rule`")
@classmethod
def tearDownClass(cls):
frappe.db.rollback()
class TestAsset(AssetSetup):
def test_purchase_asset(self):
pr = make_purchase_receipt(item_code="Macbook Pro",