Ajout de la variable address

This commit is contained in:
michel 2017-11-30 17:57:25 +01:00
parent 521cccce69
commit 3cf2ff0ebc

View File

@ -36,10 +36,13 @@ class TestCoworkingCoworker(TransactionCase):
def test_full_address(self): def test_full_address(self):
""" Test full address rendering """ """ Test full address rendering """
full_contact_adress = fields.Char.from_sting(self.rue.full_contact_adress) full_contact_adress = fields.Char.from_string(self.rue.full_contact_adress)
self.assertEqual(street, contact_zip, city) 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): def test_manage_coworker_type(self):
""" Test that non-coworker have not coworker_type fixed """ """ Test that non-coworker have not coworker_type fixed """