[MERGE] forward port branch saas-6 up to ab8d07c
This commit is contained in:
@@ -82,11 +82,13 @@ def post_install(flag):
|
|||||||
class BaseCase(unittest.TestCase):
|
class BaseCase(unittest.TestCase):
|
||||||
"""
|
"""
|
||||||
Subclass of TestCase for common OpenERP-specific code.
|
Subclass of TestCase for common OpenERP-specific code.
|
||||||
|
|
||||||
This class is abstract and expects self.registry, self.cr and self.uid to be
|
This class is abstract and expects self.registry, self.cr and self.uid to be
|
||||||
initialized by subclasses.
|
initialized by subclasses.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
longMessage = True # more verbose error message by default: https://www.odoo.com/r/Vmh
|
||||||
|
|
||||||
def cursor(self):
|
def cursor(self):
|
||||||
return self.registry.cursor()
|
return self.registry.cursor()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user