Suite
This commit is contained in:
parent
e21d5b92f4
commit
521cccce69
@ -15,7 +15,8 @@ class TestCoworkingCoworker(TransactionCase):
|
||||
super(TestCoworkingCoworker, self).setUp(*args, **kwargs)
|
||||
data = {'name': 'Homer Simpson', 'is_coworker': True}
|
||||
self.homer = self.env['res.partner'].create(data)
|
||||
fulladdr = {'26 rue de la concorde', '87452', 'Lyon'}
|
||||
fulladdr = {'street': '26 rue de la concorde', 'contact_zip': '87452',
|
||||
'city': 'Lyon'}
|
||||
self.rue = self.env['res.partner'].create(fulladdr)
|
||||
|
||||
|
||||
@ -35,7 +36,9 @@ class TestCoworkingCoworker(TransactionCase):
|
||||
|
||||
def test_full_address(self):
|
||||
""" Test full address rendering """
|
||||
full_contact_adress = fields.Char.frome_sting(self.)
|
||||
full_contact_adress = fields.Char.from_sting(self.rue.full_contact_adress)
|
||||
self.assertEqual(street, contact_zip, city)
|
||||
|
||||
pass
|
||||
|
||||
def test_manage_coworker_type(self):
|
||||
|
Loading…
Reference in New Issue
Block a user