Browse Source

fix: Add tearDownClass()

develop
GangaManoj 3 years ago
parent
commit
4918e9533b
  1. 4
      erpnext/assets/doctype/asset/test_asset.py

4
erpnext/assets/doctype/asset/test_asset.py

@ -27,6 +27,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",

Loading…
Cancel
Save