Browse Source

IMP] partner_statement: Create test user without password to avoid crash tests with other modules like as password_security

pull/637/head
Sergio Teruel 5 years ago
parent
commit
128e0f5fde
  1. 1
      partner_statement/tests/test_activity_statement.py
  2. 1
      partner_statement/tests/test_outstanding_statement.py

1
partner_statement/tests/test_activity_statement.py

@ -35,7 +35,6 @@ class TestActivityStatement(TransactionCase):
user = self.res_users_model.create({
'name': login,
'login': login,
'password': 'demo',
'email': 'example@yourcompany.com',
'company_id': company.id,
'company_ids': [(4, company.id)],

1
partner_statement/tests/test_outstanding_statement.py

@ -32,7 +32,6 @@ class TestOutstandingStatement(TransactionCase):
user = self.res_users_model.create({
'name': login,
'login': login,
'password': 'demo',
'email': 'example@yourcompany.com',
'company_id': company.id,
'company_ids': [(4, company.id)],

Loading…
Cancel
Save