mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
@@ -25,6 +25,10 @@ class AssetSetup(unittest.TestCase):
|
|||||||
create_asset_data()
|
create_asset_data()
|
||||||
frappe.db.sql("delete from `tabTax Rule`")
|
frappe.db.sql("delete from `tabTax Rule`")
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def tearDownClass(cls):
|
||||||
|
frappe.db.rollback()
|
||||||
|
|
||||||
class TestAsset(AssetSetup):
|
class TestAsset(AssetSetup):
|
||||||
def test_purchase_asset(self):
|
def test_purchase_asset(self):
|
||||||
pr = make_purchase_receipt(item_code="Macbook Pro",
|
pr = make_purchase_receipt(item_code="Macbook Pro",
|
||||||
|
|||||||
Reference in New Issue
Block a user