odoo/openerp/tools
Xavier Morel 5528b9b2d8 [FIX] sprurious error in log during javascript unit tests
During some tests, the runner performs sequences of DUPLICATE and DROP
on databases. Each DUPLICATE is followed by some operations then a
DROP.

Problem is, after a DROP the next DUPLICATE RPC query will attempt a
connection to the just-dropped database, openerp.sql_db will log an
OperationalError ("Connection to the database failed" since the db it
tries to connect to was removed) then the HTTP dispatcher will just
switch to "nodb" and continue on its merry way.

Mute the sql_db logger while attempting to fetch the ir.http object.

Also assert that the logger name is a string in mute_logger, as
`mute_logger(openerp.sql_db)` is syntactically valid, but will not do
anything.

bzr revid: xmo@openerp.com-20140123115413-ax5patcomdfp3ue3
2014-01-23 12:54:13 +01:00
..
__init__.py [REM] Deleted .apidoc lines. 2013-02-12 15:24:10 +01:00
amount_to_text.py [IMP] more augmented assignments 2012-12-14 14:44:55 +01:00
amount_to_text_en.py [IMP] more augmented assignments 2012-12-14 14:44:55 +01:00
assertion_report.py [IMP] tests: 2012-03-02 12:02:27 +01:00
cache.py [IMP] Performance improvement: improved cache with context, better get_object 2013-11-30 16:47:23 +01:00
config.py [IMP] --auto-reload to enable code and xml auto reload, service cleanup. 2013-10-06 00:57:40 +02:00
convert.py [IMP] Backport one feature from website: this feature allows to specify a file 2014-01-09 16:43:38 +01:00
float_utils.py [IMP] float_utils: simplified code, added float_repr 2011-12-21 00:47:40 +01:00
func.py [ADD] composition function utility 2013-09-25 16:52:05 +02:00
graph.py [IMP] more augmented assignments 2012-12-14 14:44:55 +01:00
image.py [MERGE] forward merge 7.0 until revision 4919. 2013-04-04 15:07:04 +02:00
import_email.py [IMP] res_partner:add res_partner_address field to res_partner 2012-02-20 14:47:05 +05:30
lru.py [IMP] compare to None by identity 2012-12-14 13:16:38 +01:00
mail.py [MERGE] Sync with trunk, solved conflicts. 2014-01-16 10:17:16 +01:00
misc.py [FIX] sprurious error in log during javascript unit tests 2014-01-23 12:54:13 +01:00
osutil.py merge upstream 2012-12-17 18:26:14 +01:00
parse_version.py [IMP] parse_version: ignore saas~ componants 2013-04-30 16:20:37 +02:00
pdf_utils.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
safe_eval.py [CLEAN] ir_qweb: simplified and cleaned QWebcontext implementation 2014-01-16 19:27:50 +01:00
sql.py [FIX] drop_view_if_exists: simpler and CASCADING implementation for pg 8.3+ 2012-02-27 17:57:37 +01:00
test-config-values [ADD] tools/config: started tests. 2011-06-01 13:50:55 +02:00
test-config-values-00.conf [ADD] tools/config: started tests. 2011-06-01 13:50:55 +02:00
test_config.py [IMP] Added missing vim mode lines 2011-11-22 09:58:48 +01:00
test_reports.py [MERGE] removed LocalService("workflow"), Logger class, and TEST log level. 2013-03-27 18:06:39 +01:00
translate.py [MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141-7e8bv8ordqqsswh7 2014-02-06 12:02:20 +01:00
view_validation.py [FIX] view validation tests 2013-06-25 19:01:18 +02:00
which.py [IMP] Added missing vim mode lines 2011-11-22 09:58:48 +01:00
win32.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
yaml_import.py [IMP] attempt to improve yaml test message in order to make its errors somewhat less cryptic 2014-01-08 14:37:22 +01:00
yaml_tag.py [FIX] yaml: more explicit error if !record has missing parameters 2012-10-29 18:34:21 +01:00