mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
calls local to build frappe.form_dict in order to pass failing test
This commit is contained in:
@@ -44,7 +44,8 @@ class TestRequestforQuotation(unittest.TestCase):
|
|||||||
sq = make_supplier_quotation(rfq.name, supplier_wt_appos[0].get("supplier"))
|
sq = make_supplier_quotation(rfq.name, supplier_wt_appos[0].get("supplier"))
|
||||||
sq.submit()
|
sq.submit()
|
||||||
|
|
||||||
frappe.local.form_dict = dict(name=rfq.name)
|
frappe.form_dict = frappe.local("form_dict")
|
||||||
|
frappe.form_dict.name = rfq.name
|
||||||
|
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
check_supplier_has_docname_access(supplier_wt_appos[0].get('supplier')),
|
check_supplier_has_docname_access(supplier_wt_appos[0].get('supplier')),
|
||||||
|
|||||||
Reference in New Issue
Block a user