fix: remove transaction commit from tests

This commit is contained in:
Ankush Menat
2021-10-12 15:26:37 +05:30
committed by Ankush Menat
parent acdb26a4bb
commit 8d69ec72a6
7 changed files with 0 additions and 13 deletions

View File

@@ -45,7 +45,6 @@ class TestProcurementTracker(unittest.TestCase):
pr = make_purchase_receipt(po.name)
pr.get("items")[0].cost_center = "Main - _TPC"
pr.submit()
frappe.db.commit()
date_obj = datetime.date(datetime.now())
po.load_from_db()