From 0a8d27df8a0adcd59ce6bf8541c1d34bb29c6f88 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 22 Jun 2021 19:59:14 +0200 Subject: [PATCH] [FIX] base_location: Fix tests according last change --- base_location/tests/test_base_location.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/base_location/tests/test_base_location.py b/base_location/tests/test_base_location.py index e67e9f5af..42f03764f 100644 --- a/base_location/tests/test_base_location.py +++ b/base_location/tests/test_base_location.py @@ -185,10 +185,6 @@ class TestBaseLocation(common.SavepointCase): self.city_bcn.country_id.enforce_cities = False partner.city_id = self.city_bcn self.assertFalse(partner.zip_id) - partner.city_id = self.env["res.city"] - self.assertEqual( - len(partner.allowed_zip_ids), self.env["res.city.zip"].search_count([]) - ) def test_partner_onchange_state(self): """Test partner onchange state_id"""