From 8f91937bab596d27f4f9bc5aa1e714bf9c7903b4 Mon Sep 17 00:00:00 2001 From: "Anand Patel (OpenERP)" Date: Mon, 4 Feb 2013 18:26:42 +0530 Subject: [PATCH] [IMP]: Improve test case bzr revid: pan@tinyerp.com-20130204125642-fyf2r3uubk16md4t --- openerp/tests/addons/test_impex/tests/test_load.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/openerp/tests/addons/test_impex/tests/test_load.py b/openerp/tests/addons/test_impex/tests/test_load.py index fe01a267d58..067641cea42 100644 --- a/openerp/tests/addons/test_impex/tests/test_load.py +++ b/openerp/tests/addons/test_impex/tests/test_load.py @@ -393,18 +393,14 @@ class test_required_string_field(ImporterCase): def test_empty(self): result = self.import_(['value'], [[]]) self.assertEqual(result['messages'], [message( - u"Missing required value for the field 'value'. This might be " - u"'unknown' in the current model, or a field of the same name in " - u"an o2m.")]) + u"Missing required value for the field 'unknown'")]) self.assertIs(result['ids'], False) @mute_logger('openerp.sql_db', 'openerp.osv.orm') def test_not_provided(self): result = self.import_(['const'], [['12']]) self.assertEqual(result['messages'], [message( - u"Missing required value for the field 'value'. This might be " - u"'unknown' in the current model, or a field of the same name in " - u"an o2m.")]) + u"Missing required value for the field 'unknown'")]) self.assertIs(result['ids'], False) class test_text(ImporterCase):