diff --git a/coworking_coworker/tests/test_coworking_coworker.py b/coworking_coworker/tests/test_coworking_coworker.py index b662138..05c37f1 100644 --- a/coworking_coworker/tests/test_coworking_coworker.py +++ b/coworking_coworker/tests/test_coworking_coworker.py @@ -36,10 +36,13 @@ class TestCoworkingCoworker(TransactionCase): def test_full_address(self): """ Test full address rendering """ - full_contact_adress = fields.Char.from_sting(self.rue.full_contact_adress) - self.assertEqual(street, contact_zip, city) + full_contact_adress = fields.Char.from_string(self.rue.full_contact_adress) + self.assertEqual(full_contact_adress) + + address = self.env['coworking.coworker'].create({ + 'street': '29 Grande rue', 'contact_zip': '26270', 'city': 'Loriol'}) + - pass def test_manage_coworker_type(self): """ Test that non-coworker have not coworker_type fixed """