[MERGE] forward port branch saas-6 up to ab8d07c

This commit is contained in:
Christophe Simonis
2016-11-02 17:26:05 +01:00
+3 -1
View File
@@ -82,11 +82,13 @@ def post_install(flag):
class BaseCase(unittest.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()