def METHOD_NAME(self):
    # Partner living in paris 03, with zip_id set
    partner = self.env["res.partner"].create(
        {
            "name": "Edgar Degas",
            "city_id": self.paris.id,
            "state_id": self.paris.state_id.id,
            "country_id": self.paris.country_id.id,
            "zip_id": self.paris_03.id,
            "zip": self.paris_03.name,
        }
    )
    # Check available carriers
    carriers = self._get_available_carriers(partner)
    self.assertIn(self.carrier_paris_01_05, carriers)
    self.assertNotIn(self.carrier_paris_06_11, carriers)