diff --git a/openerp/tests/common.py b/openerp/tests/common.py index 912ebea5799..3a4700be682 100644 --- a/openerp/tests/common.py +++ b/openerp/tests/common.py @@ -46,6 +46,10 @@ def get_db_name(): return db +# For backwards-compatibility - get_db_name() should be used instead +DB = get_db_name() + + def at_install(flag): """ Sets the at-install state of a test, the flag is a boolean specifying whether the test should (``True``) or should not (``False``) run during