odoo/openerp/tests
dufresnedavid cc9113f818 [IMP] Prevent unclosed cursor during tests
If an error happens in an overload of setUp, the already-open cursor
is likely not to get properly released before the next test,
deadlocking the db, because tearDown only runs if setUp has
succesfully completed.

Cleanups were added specifically to run every time, after tearDown has
(potentially) been executed.

closes #8327

Note: cleanups run in LIFO order (as they should).
2015-09-17 12:23:09 +02:00
..
addons [FIX] tools.translate: when loading entries from a PO file, use also the POT. 2014-08-13 23:07:40 +02:00
__init__.py [MERGE] turnk 2012-12-20 03:07:08 +01:00
common.py [IMP] Prevent unclosed cursor during tests 2015-09-17 12:23:09 +02:00
test_acl.py [FIX] mute logger in some tests 2013-10-29 15:19:39 +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] move test on property fields to his own test class 2014-02-13 14:32:54 +01:00
test_ir_filters.py [FIX] Remove unused imports and fix some imports that doesn't use the new namespace 2012-12-17 15:30:29 +01:00
test_ir_sequence.py [REF] Use assertEqual method instead of assert instruction 2014-03-06 12:20:53 +01:00
test_mail.py [FIX] tools.email_split: improve email extraction using stdlib + extra tests 2014-01-14 16:44:26 +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 [FIX] Remove unused imports and fix some imports that doesn't use the new namespace 2012-12-17 15:30:29 +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_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_uninstall.py [FIX] Remove unused imports and fix some imports that doesn't use the new namespace 2012-12-17 15:30:29 +01:00
test_view_validation.py [FIX] Remove unused imports and fix some imports that doesn't use the new namespace 2012-12-17 15:30:29 +01:00
test_xmlrpc.py [FIX] Remove unused imports and fix some imports that doesn't use the new namespace 2012-12-17 15:30:29 +01:00