Browse Source

[FIX] Module 'auditlog' - Unit tests, do not create users with the 'notify_email' field

pull/1040/head
sebalix 10 years ago
committed by Enric Tobella
parent
commit
669e253b17
No known key found for this signature in database GPG Key ID: 1A2546A1B7BA2451
  1. 4
      auditlog/tests/test_auditlog.py

4
auditlog/tests/test_auditlog.py

@ -96,9 +96,7 @@ class TestAuditlog(TransactionCase):
user = self.env['res.users'].create({
'name': 'testuser_inheritedfield',
'login': 'testuser.inheritedfield@company.com',
# fields inherited from 'res.partner'
'lang': 'en_US',
'notify_email': 'none',
'lang': 'en_US', # field inherited from 'res.partner'
})
self.assertTrue(auditlog_log.search([
('model_id', '=', users_model_id),

Loading…
Cancel
Save