projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46cbf22
)
[IMP] oe: get db password from config file
author
Xavier Morel
<xmo@openerp.com>
Fri, 31 Jan 2014 11:48:28 +0000
(12:48 +0100)
committer
Xavier Morel
<xmo@openerp.com>
Fri, 31 Jan 2014 11:48:28 +0000
(12:48 +0100)
bzr revid: xmo@openerp.com-
20140131114828
-b90z3pxql63ky6gp
openerpcommand/run_tests.py
patch
|
blob
|
history
diff --git
a/openerpcommand/run_tests.py
b/openerpcommand/run_tests.py
index
3e9fec5
..
7e23f3e
100644
(file)
--- a/
openerpcommand/run_tests.py
+++ b/
openerpcommand/run_tests.py
@@
-101,11
+101,11
@@
def run(args):
import openerp
config = openerp.tools.config
+ config.load()
+
config['db_name'] = args.database
if args.port:
config['xmlrpc_port'] = int(args.port)
- config['admin_passwd'] = 'admin'
- config['db_password'] = 'a2aevl8w' # TODO from .openerpserverrc
if args.addons:
args.addons = args.addons.replace(':',',').split(',')