Skip to content

Commit

Permalink
[FIX] hr_holidays: mute log of expected exception in test
Browse files Browse the repository at this point in the history
  • Loading branch information
KangOl committed Mar 6, 2019
1 parent afe0133 commit f588930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/hr_holidays/tests/test_leave_requests.py
Expand Up @@ -138,7 +138,7 @@ def test_accrual_validity_time_valid(self):
'number_of_days': 1,
})

@mute_logger('odoo.models.unlink', 'odoo.addons.mail.models.mail_mail')
@mute_logger('odoo.models.unlink', 'odoo.addons.mail.models.mail_mail', 'odoo.models')
def test_accrual_validity_time_not_valid(self):
""" Employee ask leav during a not valid validity time """
with self.assertRaises(ValidationError):
Expand Down

0 comments on commit f588930

Please sign in to comment.