calls local
to build frappe.form_dict
in order to pass failing test
This commit is contained in:
parent
8859eb23a3
commit
5824ae98d9
@ -44,7 +44,8 @@ class TestRequestforQuotation(unittest.TestCase):
|
||||
sq = make_supplier_quotation(rfq.name, supplier_wt_appos[0].get("supplier"))
|
||||
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(
|
||||
check_supplier_has_docname_access(supplier_wt_appos[0].get('supplier')),
|
||||
|
Loading…
x
Reference in New Issue
Block a user