From 2abbf20da17ab10e1b3f2ee537e023b9271d2f08 Mon Sep 17 00:00:00 2001 From: Anupam Date: Tue, 21 Dec 2021 14:13:40 +0530 Subject: [PATCH] fix: test case --- erpnext/crm/doctype/opportunity/test_opportunity.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/erpnext/crm/doctype/opportunity/test_opportunity.py b/erpnext/crm/doctype/opportunity/test_opportunity.py index 2611e555bd..db44b6a3d5 100644 --- a/erpnext/crm/doctype/opportunity/test_opportunity.py +++ b/erpnext/crm/doctype/opportunity/test_opportunity.py @@ -49,10 +49,6 @@ class TestOpportunity(unittest.TestCase): contact.add_email(opp_doc.contact_email, is_primary=True) contact.insert(ignore_permissions=True) - self.assertTrue(opp_doc.party_name) - self.assertEqual(opp_doc.opportunity_from, "Lead") - self.assertEqual(opp_doc.party_name, customer.name) - def test_opportunity_item(self): opportunity_doc = make_opportunity(with_items=1, rate=1100, qty=2) self.assertEqual(opportunity_doc.total, 2200)