From 0d46df878e1c3339bd75634505c2bf2645cb8a09 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Sat, 12 Oct 2024 12:50:41 +0530 Subject: [PATCH] test: fixed failing unit test --- crm/fcrm/doctype/crm_call_log/test_crm_call_log.py | 4 ++-- .../crm_communication_status/test_crm_communication_status.py | 4 ++-- crm/fcrm/doctype/crm_deal/test_crm_deal.py | 4 ++-- crm/fcrm/doctype/crm_deal_status/test_crm_deal_status.py | 4 ++-- crm/fcrm/doctype/crm_fields_layout/test_crm_fields_layout.py | 4 ++-- crm/fcrm/doctype/crm_form_script/test_crm_form_script.py | 4 ++-- crm/fcrm/doctype/crm_holiday_list/test_crm_holiday_list.py | 4 ++-- crm/fcrm/doctype/crm_industry/test_crm_industry.py | 4 ++-- crm/fcrm/doctype/crm_invitation/test_crm_invitation.py | 4 ++-- crm/fcrm/doctype/crm_lead/test_crm_lead.py | 4 ++-- crm/fcrm/doctype/crm_lead_source/test_crm_lead_source.py | 4 ++-- crm/fcrm/doctype/crm_lead_status/test_crm_lead_status.py | 4 ++-- crm/fcrm/doctype/crm_notification/test_crm_notification.py | 4 ++-- crm/fcrm/doctype/crm_organization/test_crm_organization.py | 4 ++-- .../test_crm_service_level_agreement.py | 4 ++-- .../test_crm_service_level_priority.py | 4 ++-- crm/fcrm/doctype/crm_task/test_crm_task.py | 4 ++-- crm/fcrm/doctype/crm_territory/test_crm_territory.py | 4 ++-- crm/fcrm/doctype/crm_view_settings/test_crm_view_settings.py | 4 ++-- .../doctype/erpnext_crm_settings/test_erpnext_crm_settings.py | 4 ++-- crm/fcrm/doctype/fcrm_note/test_fcrm_note.py | 4 ++-- crm/fcrm/doctype/twilio_agents/test_twilio_agents.py | 4 ++-- crm/fcrm/doctype/twilio_settings/test_twilio_settings.py | 4 ++-- 23 files changed, 46 insertions(+), 46 deletions(-) diff --git a/crm/fcrm/doctype/crm_call_log/test_crm_call_log.py b/crm/fcrm/doctype/crm_call_log/test_crm_call_log.py index 9c8198a4..34fe2bae 100644 --- a/crm/fcrm/doctype/crm_call_log/test_crm_call_log.py +++ b/crm/fcrm/doctype/crm_call_log/test_crm_call_log.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMCallLog(FrappeTestCase): +class TestCRMCallLog(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_communication_status/test_crm_communication_status.py b/crm/fcrm/doctype/crm_communication_status/test_crm_communication_status.py index 85f289cc..bf5b69e2 100644 --- a/crm/fcrm/doctype/crm_communication_status/test_crm_communication_status.py +++ b/crm/fcrm/doctype/crm_communication_status/test_crm_communication_status.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMCommunicationStatus(FrappeTestCase): +class TestCRMCommunicationStatus(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_deal/test_crm_deal.py b/crm/fcrm/doctype/crm_deal/test_crm_deal.py index b9ecc378..85ef9331 100644 --- a/crm/fcrm/doctype/crm_deal/test_crm_deal.py +++ b/crm/fcrm/doctype/crm_deal/test_crm_deal.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMDeal(FrappeTestCase): +class TestCRMDeal(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_deal_status/test_crm_deal_status.py b/crm/fcrm/doctype/crm_deal_status/test_crm_deal_status.py index b5463dc1..4e60b78d 100644 --- a/crm/fcrm/doctype/crm_deal_status/test_crm_deal_status.py +++ b/crm/fcrm/doctype/crm_deal_status/test_crm_deal_status.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMDealStatus(FrappeTestCase): +class TestCRMDealStatus(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_fields_layout/test_crm_fields_layout.py b/crm/fcrm/doctype/crm_fields_layout/test_crm_fields_layout.py index bdc71c0a..6ea73d02 100644 --- a/crm/fcrm/doctype/crm_fields_layout/test_crm_fields_layout.py +++ b/crm/fcrm/doctype/crm_fields_layout/test_crm_fields_layout.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMFieldsLayout(FrappeTestCase): +class TestCRMFieldsLayout(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_form_script/test_crm_form_script.py b/crm/fcrm/doctype/crm_form_script/test_crm_form_script.py index ae222e72..f5e8d982 100644 --- a/crm/fcrm/doctype/crm_form_script/test_crm_form_script.py +++ b/crm/fcrm/doctype/crm_form_script/test_crm_form_script.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMFormScript(FrappeTestCase): +class TestCRMFormScript(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_holiday_list/test_crm_holiday_list.py b/crm/fcrm/doctype/crm_holiday_list/test_crm_holiday_list.py index 87754859..ee90dc8a 100644 --- a/crm/fcrm/doctype/crm_holiday_list/test_crm_holiday_list.py +++ b/crm/fcrm/doctype/crm_holiday_list/test_crm_holiday_list.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMHolidayList(FrappeTestCase): +class TestCRMHolidayList(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_industry/test_crm_industry.py b/crm/fcrm/doctype/crm_industry/test_crm_industry.py index 8d23632d..16d87b13 100644 --- a/crm/fcrm/doctype/crm_industry/test_crm_industry.py +++ b/crm/fcrm/doctype/crm_industry/test_crm_industry.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMIndustry(FrappeTestCase): +class TestCRMIndustry(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_invitation/test_crm_invitation.py b/crm/fcrm/doctype/crm_invitation/test_crm_invitation.py index e2b3dc24..ddee0e24 100644 --- a/crm/fcrm/doctype/crm_invitation/test_crm_invitation.py +++ b/crm/fcrm/doctype/crm_invitation/test_crm_invitation.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMInvitation(FrappeTestCase): +class TestCRMInvitation(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_lead/test_crm_lead.py b/crm/fcrm/doctype/crm_lead/test_crm_lead.py index 73a71202..e730792e 100644 --- a/crm/fcrm/doctype/crm_lead/test_crm_lead.py +++ b/crm/fcrm/doctype/crm_lead/test_crm_lead.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMLead(FrappeTestCase): +class TestCRMLead(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_lead_source/test_crm_lead_source.py b/crm/fcrm/doctype/crm_lead_source/test_crm_lead_source.py index eb9f2c6a..31d37917 100644 --- a/crm/fcrm/doctype/crm_lead_source/test_crm_lead_source.py +++ b/crm/fcrm/doctype/crm_lead_source/test_crm_lead_source.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMLeadSource(FrappeTestCase): +class TestCRMLeadSource(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_lead_status/test_crm_lead_status.py b/crm/fcrm/doctype/crm_lead_status/test_crm_lead_status.py index 9cb24fd4..d542056a 100644 --- a/crm/fcrm/doctype/crm_lead_status/test_crm_lead_status.py +++ b/crm/fcrm/doctype/crm_lead_status/test_crm_lead_status.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMLeadStatus(FrappeTestCase): +class TestCRMLeadStatus(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_notification/test_crm_notification.py b/crm/fcrm/doctype/crm_notification/test_crm_notification.py index e643a91d..466bad4d 100644 --- a/crm/fcrm/doctype/crm_notification/test_crm_notification.py +++ b/crm/fcrm/doctype/crm_notification/test_crm_notification.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMNotification(FrappeTestCase): +class TestCRMNotification(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_organization/test_crm_organization.py b/crm/fcrm/doctype/crm_organization/test_crm_organization.py index e11be575..e8066754 100644 --- a/crm/fcrm/doctype/crm_organization/test_crm_organization.py +++ b/crm/fcrm/doctype/crm_organization/test_crm_organization.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMOrganization(FrappeTestCase): +class TestCRMOrganization(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_service_level_agreement/test_crm_service_level_agreement.py b/crm/fcrm/doctype/crm_service_level_agreement/test_crm_service_level_agreement.py index 40e2555e..bf6ae587 100644 --- a/crm/fcrm/doctype/crm_service_level_agreement/test_crm_service_level_agreement.py +++ b/crm/fcrm/doctype/crm_service_level_agreement/test_crm_service_level_agreement.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMServiceLevelAgreement(FrappeTestCase): +class TestCRMServiceLevelAgreement(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_service_level_priority/test_crm_service_level_priority.py b/crm/fcrm/doctype/crm_service_level_priority/test_crm_service_level_priority.py index f1f5448b..89f9c4e3 100644 --- a/crm/fcrm/doctype/crm_service_level_priority/test_crm_service_level_priority.py +++ b/crm/fcrm/doctype/crm_service_level_priority/test_crm_service_level_priority.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMServiceLevelPriority(FrappeTestCase): +class TestCRMServiceLevelPriority(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_task/test_crm_task.py b/crm/fcrm/doctype/crm_task/test_crm_task.py index f8316336..d632cebe 100644 --- a/crm/fcrm/doctype/crm_task/test_crm_task.py +++ b/crm/fcrm/doctype/crm_task/test_crm_task.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMTask(FrappeTestCase): +class TestCRMTask(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_territory/test_crm_territory.py b/crm/fcrm/doctype/crm_territory/test_crm_territory.py index 475707fd..c1315d94 100644 --- a/crm/fcrm/doctype/crm_territory/test_crm_territory.py +++ b/crm/fcrm/doctype/crm_territory/test_crm_territory.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMTerritory(FrappeTestCase): +class TestCRMTerritory(UnitTestCase): pass diff --git a/crm/fcrm/doctype/crm_view_settings/test_crm_view_settings.py b/crm/fcrm/doctype/crm_view_settings/test_crm_view_settings.py index cd6df2d7..1d002a30 100644 --- a/crm/fcrm/doctype/crm_view_settings/test_crm_view_settings.py +++ b/crm/fcrm/doctype/crm_view_settings/test_crm_view_settings.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestCRMViewSettings(FrappeTestCase): +class TestCRMViewSettings(UnitTestCase): pass diff --git a/crm/fcrm/doctype/erpnext_crm_settings/test_erpnext_crm_settings.py b/crm/fcrm/doctype/erpnext_crm_settings/test_erpnext_crm_settings.py index 17ae0284..937b9ef7 100644 --- a/crm/fcrm/doctype/erpnext_crm_settings/test_erpnext_crm_settings.py +++ b/crm/fcrm/doctype/erpnext_crm_settings/test_erpnext_crm_settings.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestERPNextCRMSettings(FrappeTestCase): +class TestERPNextCRMSettings(UnitTestCase): pass diff --git a/crm/fcrm/doctype/fcrm_note/test_fcrm_note.py b/crm/fcrm/doctype/fcrm_note/test_fcrm_note.py index 86635b28..6a98a6ff 100644 --- a/crm/fcrm/doctype/fcrm_note/test_fcrm_note.py +++ b/crm/fcrm/doctype/fcrm_note/test_fcrm_note.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestFCRMNote(FrappeTestCase): +class TestFCRMNote(UnitTestCase): pass diff --git a/crm/fcrm/doctype/twilio_agents/test_twilio_agents.py b/crm/fcrm/doctype/twilio_agents/test_twilio_agents.py index 72cdd5cc..29ecc305 100644 --- a/crm/fcrm/doctype/twilio_agents/test_twilio_agents.py +++ b/crm/fcrm/doctype/twilio_agents/test_twilio_agents.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestTwilioAgents(FrappeTestCase): +class TestTwilioAgents(UnitTestCase): pass diff --git a/crm/fcrm/doctype/twilio_settings/test_twilio_settings.py b/crm/fcrm/doctype/twilio_settings/test_twilio_settings.py index 095e747e..21b03841 100644 --- a/crm/fcrm/doctype/twilio_settings/test_twilio_settings.py +++ b/crm/fcrm/doctype/twilio_settings/test_twilio_settings.py @@ -2,8 +2,8 @@ # See license.txt # import frappe -from frappe.tests.utils import FrappeTestCase +from frappe.tests import UnitTestCase -class TestTwilioSettings(FrappeTestCase): +class TestTwilioSettings(UnitTestCase): pass