From 29d50b770e3d8de745a75cecbf18c0d745c4de6f Mon Sep 17 00:00:00 2001 From: Nihantra Patel Date: Thu, 18 Jul 2024 12:24:52 +0530 Subject: [PATCH] fix: update the testcase format --- erpnext/crm/doctype/prospect/test_prospect.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/erpnext/crm/doctype/prospect/test_prospect.py b/erpnext/crm/doctype/prospect/test_prospect.py index 286b91e2086..e89bade19a1 100644 --- a/erpnext/crm/doctype/prospect/test_prospect.py +++ b/erpnext/crm/doctype/prospect/test_prospect.py @@ -32,11 +32,13 @@ class TestProspect(unittest.TestCase): frappe.delete_doc_if_exists("Customer", "_Test Prospect") - prospect = frappe.get_doc({ - "doctype": "Prospect", - "company_name": "_Test Prospect", - "customer_group": "_Test Customer Group", - }) + prospect = frappe.get_doc( + { + "doctype": "Prospect", + "company_name": "_Test Prospect", + "customer_group": "_Test Customer Group", + } + ) prospect.insert() customer = make_customer_from_prospect("_Test Prospect")