[TEST] enhance error message

bzr revid: alexandre.fayolle@camptocamp.com-20130522065722-vuxha3lht56as98o
This commit is contained in:
Alexandre Fayolle
2013-05-22 08:57:22 +02:00
parent 92b2d80072
commit 51a96dc5cd
+1 -1
View File
@@ -10,5 +10,5 @@
!python {model: stock.move}: |
context['picking_type'] = 'internal'
defaults = self.default_get(cr, uid, ['location_id', 'location_dest_id', 'type'], context)
assert defaults == {'location_id': False, 'location_dest_id': False, 'type': 'internal'}
assert defaults == {'location_id': False, 'location_dest_id': False, 'type': 'internal'}, "did not get the correct default (got: %s)" % defaults