fix: test case

This commit is contained in:
Anupam 2021-12-21 13:35:15 +05:30
parent c847130ae9
commit 107b405560

View File

@ -50,7 +50,7 @@ class TestOpportunity(unittest.TestCase):
contact.insert(ignore_permissions=True)
self.assertTrue(opp_doc.party_name)
self.assertEqual(opp_doc.opportunity_from, "Customer")
self.assertEqual(opp_doc.opportunity_from, "Lead")
self.assertEqual(opp_doc.party_name, customer.name)
def test_opportunity_item(self):