mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
test: Do not overwrite frappe.form_dict to retain proxy reference
Set frappe.local.form_dict instead
This commit is contained in:
@@ -19,7 +19,7 @@ class TestQualityProcedure(unittest.TestCase):
|
||||
)
|
||||
).insert()
|
||||
|
||||
frappe.form_dict = frappe._dict(
|
||||
frappe.local.form_dict = frappe._dict(
|
||||
doctype="Quality Procedure",
|
||||
quality_procedure_name="Test Child 1",
|
||||
parent_quality_procedure=procedure.name,
|
||||
|
||||
Reference in New Issue
Block a user