[FIX] base: remove test_ir_model, which causes bugs
authorRaphael Collet <rco@openerp.com>
Thu, 4 Sep 2014 12:59:45 +0000 (14:59 +0200)
committerRaphael Collet <rco@openerp.com>
Thu, 4 Sep 2014 12:59:45 +0000 (14:59 +0200)
commit070f28dce60c1a6f0413e4fb8155b0eaa6e7f8b8
tree43e50366b37c8bade6ad4a5db05b58ae20bf699f
parentbb007dd04097bd3132cafea8f393c0d9bbfdeb7f
[FIX] base: remove test_ir_model, which causes bugs

The test in test_ir_model creates a custom model.  This causes a full reload of
the registry, which recursively installs the required modules while 'base' is
being tested.  As a side effect, it commits stuff from the database, so that
the effects of test_ir_model are actually not rolled back.
openerp/addons/base/tests/__init__.py
openerp/addons/base/tests/test_ir_model.py [deleted file]