odoo/openerp/tests
Thibault Delavallée f0569f7133 [MERGE] Tools: mail.py: (E)Mail management
Refactored a bit openerp/tools about (e)mails and html.
- moved some (e)mail related functions from misc to mail
- moved html_sanitizer into mail
- added html_email_clean, to clean incoming emails (remove quotes, signature)
- added a plaintext2html function, to convert plaintext into html (\n and \r are replaced by <br/>, more than two <br/> are replaced by end and beginning of paragraphs)
- append_content_to_html now uses plaintext2html, according to some new flags
- added tests for html_email_clean, plaintext2html, updated test for append_content_to_html, html_sanitize

bzr revid: tde@openerp.com-20121114150442-4rpfdy9spm1ig0qw
2012-11-14 16:04:42 +01:00
..
addons [FIX] temperate error message in case of missing required field 2012-11-12 09:48:04 +01:00
__init__.py [MERGE] Sync with trunk. 2012-11-12 17:05:36 +01:00
common.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_acl.py [IMP] orm: support model-level @groups attribute for access restriction 2012-05-18 16:36:25 +02: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 [MERGE] Make sure we pass only lists, tuples or dicts to Cursor.execute(). 2012-10-16 14:54:08 +02:00
test_expression.py [IMP] tests: 2012-03-01 14:46:08 +01:00
test_fields.py fields.related: simplify read and write methods 2012-10-29 16:35:04 +01:00
test_ir_filters.py [IMP] ir_filters: add test for updating global default filter - to complete the over-coverage 2012-11-08 10:29:07 +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] Tools: mail.py: (E)Mail management 2012-11-14 16:04:42 +01:00
test_misc.py [IMP] tests: moved append_to_html into right test file. Added basic struct and templates for testing html_email_clean. 2012-11-06 13:18:24 +01:00
test_orm.py [IMP] orm: make error handling more consistent when accessing deleted/filtered records 2012-11-09 18:14:51 +01:00
test_uninstall.py [IMP] uninstall: typos 2012-06-20 12:07:05 +02:00
test_view_validation.py [FIX] Removed the unused test case to avoid the runtime mutiple execuation 2012-08-07 17:18:30 +05:30
test_xmlrpc.py [IMP] tests: xml-rpc test drops the created database (which has its own name, not clashing with the main db name). 2012-03-01 11:54:19 +01:00