summaryrefslogtreecommitdiff
path: root/addons/web/tests/test_js.py
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-12-09 03:48:10 +0100
committerAntony Lesuisse <al@openerp.com>2012-12-09 03:48:10 +0100
commit4040b8caa653b3d35068f6751136b86bdcac8f3b (patch)
tree385091b84539f5127832e8bb6128c03b4e81b72e /addons/web/tests/test_js.py
parentf224ce1d8b7c7ffb311a949a18557356c0123916 (diff)
[IMP] testjs command
To tun the tests: createdb t /server/openerp-server --addons-path=addons,web/addons server -d t -i web_tests_demo Once the server is ready, run, in an other shell: /server/openerp-server --addons-path=addons,web/addons testjs bzr revid: al@openerp.com-20121209024810-cdi2s9ftr97x8l5p
Diffstat (limited to 'addons/web/tests/test_js.py')
-rw-r--r--addons/web/tests/test_js.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/web/tests/test_js.py b/addons/web/tests/test_js.py
index a126ce4b2f3..28163f22775 100644
--- a/addons/web/tests/test_js.py
+++ b/addons/web/tests/test_js.py
@@ -10,7 +10,10 @@ class WebSuite(QUnitSuite):
'/web/tests',
'mod=*&source={db}&supadmin={supadmin}&password={password}'.format(
db=tools.config['db_name'],
- supadmin=tools.config['db_password'] or 'admin',
+ # 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',
password=tools.config['admin_passwd'] or 'admin'),
''
])