[FIX] test_views: update matching error message

bzr revid: chs@openerp.com-20130918212216-libtu7zpsn2768j0
This commit is contained in:
Christophe Simonis 2013-09-18 23:22:16 +02:00
parent fd9a9577df
commit e9980e8725
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class test_views(common.TransactionCase):
self.assertTrue(Views.pool._init)
error_msg = "Invalid XML for View Architecture"
error_msg = "The model name does not exist or the view architecture cannot be rendered"
# test arch check is call for views without xmlid during registry initialization
with self.assertRaisesRegexp(except_orm, error_msg):
Views.create(self.cr, self.uid, {