[FIX] crm_partner_assign: update bounds in tests

bzr revid: chs@openerp.com-20130311134616-9oi2dustkrds1q2e
This commit is contained in:
Christophe Simonis 2013-03-11 14:46:16 +01:00
parent 4cb9eb8d4b
commit a593627468
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
lead = self.browse(cr, uid, ref('crm.crm_case_19'))
assert lead.partner_assigned_id.id == ref('base.res_partner_15') , "Opportuniy is not assigned nearest partner"
assert 50 < lead.partner_latitude < 55, "Latitude is wrong: 50 < %s < 55" % lead.partner_latitude
assert -2 < lead.partner_longitude < 2, "Longitude is wrong: -2 < %s < 2" % lead.partner_longitude
assert -4 < lead.partner_longitude < -1, "Longitude is wrong: -4 < %s < -1" % lead.partner_longitude
-
I forward this opportunity to its nearest partner.
-