Browse Source

Fix test that was having sentences after return.

pull/198/head
Jairo Llopis 9 years ago
parent
commit
5baedf7d18
  1. 5
      partner_firstname/tests/test_create.py

5
partner_firstname/tests/test_create.py

@ -62,8 +62,9 @@ class CompanyCase(PersonCase):
context = {"default_is_company": True} context = {"default_is_company": True}
def setUp(self): def setUp(self):
return super(CompanyCase, self).setUp()
self.values.update(lastname=self.values["name"], firstname=False)
super(CompanyCase, self).setUp()
self.good_values.update(lastname=self.values["name"], firstname=False)
self.values = self.good_values.copy()
class UserCase(PersonCase, MailInstalled): class UserCase(PersonCase, MailInstalled):

Loading…
Cancel
Save