This commit is contained in:
michel 2017-12-04 10:23:33 +01:00
parent 8ffd023640
commit 97192b2a3c

View File

@ -31,6 +31,7 @@ class TestCoworkingCoworker(TransactionCase):
self.assertIn('equal of inferior to', unicode(err.exception))
def test_full_address(self):
"""Test full address"""
self.homer.write({'street': False, 'zip': False, 'city': False})
self.assertEqual(self.homer.full_contact_adress, u'')
@ -46,7 +47,9 @@ class TestCoworkingCoworker(TransactionCase):
self.homer.write({'street': u'42 Liberty Street', 'zip': False, 'city': u'Springfield'})
self.assertEqual(self.homer.full_contact_adress, u'42 Liberty Street Springfield')
def test_manage_coworker_type(self):
""" Test that non-coworker have not coworker_type fixed """
pass