From 545765173e58865238d7d90f27cf5d16866b2b93 Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Wed, 5 Oct 2011 20:06:01 +0200 Subject: [PATCH] [FIX] crm tests, openid import bzr revid: al@openerp.com-20111005180601-z55oq92j3g883akf --- addons/auth_openid/controllers/main.py | 2 +- addons/crm/test/test_crm_lead.yml | 22 +++++----------------- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/addons/auth_openid/controllers/main.py b/addons/auth_openid/controllers/main.py index 056fc2b6832..78b8609e765 100644 --- a/addons/auth_openid/controllers/main.py +++ b/addons/auth_openid/controllers/main.py @@ -28,7 +28,7 @@ import werkzeug.urls import werkzeug.exceptions from openerp.modules.registry import RegistryManager -import web.common.dispatch as openerpweb +import web.common.http as openerpweb from openid import oidutil from openid.store import memstore diff --git a/addons/crm/test/test_crm_lead.yml b/addons/crm/test/test_crm_lead.yml index 5e9b7a5cfca..d5d3c6b933b 100644 --- a/addons/crm/test/test_crm_lead.yml +++ b/addons/crm/test/test_crm_lead.yml @@ -1,21 +1,9 @@ -- | - In order to test the CRM in OpenERP, - I will do a customer qualification process that - starts with a fist contact with a customer (a lead), which will be converted to a - business opportunity and a partner. +- + In order to test the CRM in OpenERP, I will do a customer qualification + process that starts with a fist contact with a customer (a lead), which will + be converted to a business opportunity and a partner. - - I check installer report. -- - !record {model: base.setup.installer , id: base_action_rule_0_1}: - name: Test_action -- - I create the view at the time of setup. -- - !python {model: base.setup.installer}: | - self.fields_view_get(cr, uid,view_id=None, view_type='form', context=None, toolbar=False, submenu=False) -- | - In order to test the flow, I create a two new users "user_crm" and - I assign the group "salesman". + I create a two new users "user_crm" and I assign the group "salesman". - !record {model: res.users, id: res_users_usercrm0}: company_id: base.main_company