diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-12-09 03:48:10 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-12-09 03:48:10 +0100 |
| commit | 4040b8caa653b3d35068f6751136b86bdcac8f3b (patch) | |
| tree | 385091b84539f5127832e8bb6128c03b4e81b72e /addons/web/tests/test_js.py | |
| parent | f224ce1d8b7c7ffb311a949a18557356c0123916 (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.py | 5 |
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'), '' ]) |
