diff --git a/addons/web/cli/test_js.py b/addons/web/cli/test_js.py index 0b9f3094031..b3a8e634b72 100644 --- a/addons/web/cli/test_js.py +++ b/addons/web/cli/test_js.py @@ -22,7 +22,7 @@ class TestJs(openerp.cli.Command): config = openerp.tools.config config.parse_config(args) # needed until runbot is fixed - config['db_password'] = tools.config['admin_passwd'] + config['db_password'] = config['admin_passwd'] # run js tests openerp.netsvc.init_alternative_logger() diff --git a/addons/web/tests/test_js.py b/addons/web/tests/test_js.py index bdd24d1f9b9..b37c082739f 100644 --- a/addons/web/tests/test_js.py +++ b/addons/web/tests/test_js.py @@ -13,7 +13,6 @@ class WebSuite(QUnitSuite): # al: i dont understand why both are needed, db_password is the # password for postgres and should not appear here of that i'm # sure - supadmin=tools.config['admin_passwd'] or 'admin', # # But runbot provides it with this wrong key so i let it here # until it's fixed