From 35b52c5b65ba977facbae92ae3225c5adef5850a Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Sun, 9 Dec 2012 05:30:15 +0100 Subject: [PATCH] [FIX] test_js typo bzr revid: al@openerp.com-20121209043015-curop98b936em7bn --- addons/web/cli/test_js.py | 2 +- addons/web/tests/test_js.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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