From 1976ff509aab0d581390e60eb2dd30be47029fd0 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Fri, 30 Jul 2010 16:17:54 +0530 Subject: [PATCH] [FIX]: crm: Fixed warning in yml test bzr revid: rpa@tinyerp.com-20100730104754-v27a8nvv00iv9ffy --- addons/crm/__openerp__.py | 2 +- addons/crm/test/test_crm_meeting.yml | 9 ++------- addons/crm/test/test_crm_phonecall.yml | 1 - 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/addons/crm/__openerp__.py b/addons/crm/__openerp__.py index 0b170a85924..16306abfb44 100644 --- a/addons/crm/__openerp__.py +++ b/addons/crm/__openerp__.py @@ -124,7 +124,7 @@ Create dashboard for CRM that includes: ], 'test': [ 'test/test_crm_lead.yml', - #'test/test_crm_meeting.yml', + 'test/test_crm_meeting.yml', 'test/test_crm_opportunity.yml', 'test/test_crm_phonecall.yml', ], diff --git a/addons/crm/test/test_crm_meeting.yml b/addons/crm/test/test_crm_meeting.yml index 6365c913b1f..ef86261f091 100644 --- a/addons/crm/test/test_crm_meeting.yml +++ b/addons/crm/test/test_crm_meeting.yml @@ -55,8 +55,8 @@ I will search for one of the recurrent event and count the number of meeting. - !python {model: crm.meeting}: | - ids = self.search(cr, uid, [('date', '>=', '2010-05-21 00:00:00'), ('date', '<=', '2010-04-21 00:00:00')] ) - assert len(ids) == 9 + ids = self.search(cr, uid, [('date', '>=', '2010-04-21 00:00:00'), ('date', '<=', '2010-05-21 00:00:00')] ) + assert len(ids) == 10 - | Now If I want to edit meetings information for all occurence I click on "Edit All" button. @@ -81,11 +81,6 @@ partner_id: base.res_partner_9 user_ids: - base.user_demo -- | - If I set Send mail boolean as True I can see that an email is send to - specified email address with proper meeting information. -- - #This is not working for send mail boolean as True. - I click on "Invite" button of "Invite attendee" wizard. - diff --git a/addons/crm/test/test_crm_phonecall.yml b/addons/crm/test/test_crm_phonecall.yml index af28c19a10e..1351ba88199 100644 --- a/addons/crm/test/test_crm_phonecall.yml +++ b/addons/crm/test/test_crm_phonecall.yml @@ -72,7 +72,6 @@ partner_address_id: base.res_partner_address_1 partner_id: base.res_partner_9 phonecall_id: 'crm_phonecall_interviewcall0' - rrule_type: weekly state: open - |