diff options
| author | Vo Minh Thu <vmt@openerp.com> | 2012-11-15 17:06:43 +0100 |
|---|---|---|
| committer | Vo Minh Thu <vmt@openerp.com> | 2012-11-15 17:06:43 +0100 |
| commit | 724f452f1e96d0eb8feeb8f0c1d273a2a543e671 (patch) | |
| tree | 853429a264825bed20058cfebd6cc880059d28c4 /addons/portal/tests | |
| parent | d05a945fc56329a140fef2aafcb15b4146f7c1db (diff) | |
[IMP] fleet/porta/account_budget: removed some initialization warnings.
bzr revid: vmt@openerp.com-20121115160643-lc0b07n6xiaq1rl3
Diffstat (limited to 'addons/portal/tests')
| -rw-r--r-- | addons/portal/tests/test_portal.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/portal/tests/test_portal.py b/addons/portal/tests/test_portal.py index be32b015743..0a2772c9cfe 100644 --- a/addons/portal/tests/test_portal.py +++ b/addons/portal/tests/test_portal.py @@ -20,7 +20,8 @@ ############################################################################## from openerp.addons.mail.tests import test_mail_mockup -from osv.orm import except_orm +from openerp.osv.orm import except_orm +from openerp.tools.misc import mute_logger class test_portal(test_mail_mockup.TestMailMockups): @@ -52,6 +53,7 @@ class test_portal(test_mail_mockup.TestMailMockups): # Set an email address for the user running the tests, used as Sender for outgoing mails self.res_users.write(cr, uid, uid, {'email': 'test@localhost'}) + @mute_logger('openerp.addons.base.ir.ir_model') def test_00_access_rights(self): """ Test basic mail_message and mail_group access rights for portal users. """ cr, uid = self.cr, self.uid |
