fix: set cwip account before asset tests

This commit is contained in:
Gursheen Anand 2023-11-29 18:25:52 +05:30
parent cf97e3c21f
commit ef8e4191cd

View File

@ -18,6 +18,9 @@ from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt import make_pu
class TestAssetValueAdjustment(unittest.TestCase):
def setUp(self):
create_asset_data()
frappe.db.set_value(
"Company", "_Test Company", "capital_work_in_progress_account", "CWIP Account - _TC"
)
def test_current_asset_value(self):
pr = make_purchase_receipt(