Skip to content
Snippets Groups Projects
Commit 86a9b789 authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[IMP] tests: use long message in case of error

parent d4063146
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment