[IMP] tests: use long message in case of error
This commit is contained in:
parent
d406314638
commit
86a9b7893e
|
@ -80,11 +80,13 @@ def post_install(flag):
|
|||
class BaseCase(unittest2.TestCase):
|
||||
"""
|
||||
Subclass of TestCase for common OpenERP-specific code.
|
||||
|
||||
|
||||
This class is abstract and expects self.registry, self.cr and self.uid to be
|
||||
initialized by subclasses.
|
||||
"""
|
||||
|
||||
longMessage = True # more verbose error message by default: https://www.odoo.com/r/Vmh
|
||||
|
||||
def cursor(self):
|
||||
return self.registry.cursor()
|
||||
|
||||
|
|
Loading…
Reference in New Issue