refactor(test): flaky test in lead

This commit is contained in:
ruthra kumar
2025-06-25 17:28:48 +05:30
parent 2309bea1a0
commit 03a64b67d9

View File

@@ -125,6 +125,7 @@ class TestLead(ERPNextTestSuite):
create_todo("followup", "Lead", lead.name)
opportunity = make_opportunity(lead.name)
opportunity.company = self.companies[0].name
opportunity.save()
self.assertEqual(opportunity.get("party_name"), lead.name)