odoo/openerp/tests
Thibault Delavallée 42e2676f4b [IMP] fields: html: now supports a sanitize argument, telling
whether the content of the html field should be sanitized before storage. This parameter
is true by default.
Example of use: html of email template is considered as html content, but contains
mako strings that makes this content not valid html. Sanitizing the body content
can cause issues to the template; therefore storing it as html but not sanitized
allows to keep its content safe.

Added a test case to ensure this behavior.

bzr revid: tde@openerp.com-20140227120254-6m8gvkt4hf28nl0e
2014-02-27 13:02:54 +01:00
..
addons [ADD] ability to disable fields escaping 2013-12-16 10:23:30 +01:00
__init__.py [FIX] removing test that commits and small fix 2014-01-31 01:27:01 +01:00
common.py [IMP] add an easier to use XML-RPC faultCode compliant protocol 2013-10-06 12:21:31 +02:00
test_acl.py [FIX] do not hardcode demo uid 2014-01-28 19:09:10 +01:00
test_basecase.py [FIX] tests.common: make ref() and browse_ref() work for TransactionCase as well + update tests 2012-11-09 18:08:26 +01:00
test_db_cursor.py [FIX] test_db_cursor: explicitely close the cursor (without relying on __del__). 2012-11-15 13:39:37 +01:00
test_expression.py [REF] [IMP] expression.parse: refactored the main parsing loop, now using source and result stacks. Leaf elements are encapsulated into a specific object, allowing to delegate the join condition formation and aliases generation, as well as working_table management to them. The main parsing loop is now a loop taking a leaf, doing one action on it, and putting the result back to be analyzed or in the results. This allows to avoid having while loops inside a main while loop with some weird corner effects. 2012-12-04 15:26:50 +01:00
test_fields.py [IMP] fields: html: now supports a sanitize argument, telling 2014-02-27 13:02:54 +01:00
test_func.py [ADD] composition function utility 2013-09-25 16:52:05 +02:00
test_ir_filters.py [FIX] fubared ir_filters tests 2014-01-28 17:48:49 +01:00
test_ir_sequence.py [FIX] test_ir_sequence: reduce the number of call to next() (to reduce test time). 2012-09-03 16:59:29 +02:00
test_mail.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
test_mail_examples.py [MERGE] Sync with trunk 2013-10-28 17:33:25 +01:00
test_misc.py [REM] datetime pattern conversion tests 2014-01-09 09:17:31 +01:00
test_orm.py [FIX] fixes the read_group by dates tests (makes them use the field:interval syntax instead of using the context (test_orm.py) 2014-01-23 14:06:03 +01:00
test_osv.py [CLEAN] Query: cleaned a bit the code. All joins now goes through the same method, either implicit or explicit. Will have to be upgraded in future versions, but at least this is a bit centralized. Updated ORM accordingly. Updated tests. Added a get_alias_from_query method in expression that find the table and the alias from a 'full alias' statement. 2012-12-07 16:42:04 +01:00
test_qweb.py [REF] small refactoring of rendering tests 2013-10-21 10:22:23 +02:00
test_translate.py [IMP] [MOV] Moved test_osv and test_translate from unchecked test directory to tests, to be now effectively run. Updated test_osv to matche the new alias coding style. 2012-12-07 15:29:31 +01:00
test_view_validation.py [FIX] view validation tests 2013-06-25 21:12:59 +02:00
test_xmlrpc.py [IMP] add an easier to use XML-RPC faultCode compliant protocol 2013-10-06 12:21:31 +02:00