[FIX] delivery: test robust to installed localization

related to 9e5c1f68a5

opw-1841170
This commit is contained in:
Arnold Moyaux
2018-05-08 12:02:34 +02:00
committed by Nicolas Martinelli
parent 1591d3e19e
commit 4591b9a49a
@@ -34,6 +34,7 @@ class TestDeliveryCost(common.TransactionCase):
self.env.cr.execute(
"UPDATE res_company SET currency_id = %s WHERE id = %s",
[self.env.ref('base.USD').id, self.env.user.company_id.id])
self.pricelist.currency_id = self.env.ref('base.USD').id
def test_00_delivery_cost(self):
# In order to test Carrier Cost