Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: How to run tests?

by
manuel
- 09/17/2014 11:19:47
Le 17/09/14 11:08, Leonardo Pistone a écrit :
<blockquote cite="mid:CAATsmLGqk_iQqojwejNBbUgu2xbwgLg1L=rEsoHA3fyErJy5ww@mail.gmail.com" type="cite">
> And that's it.

... and -d db_name
Sorry, but still nothing...

I've even done a surely failing test:

from openerp.tests.common import TransactionCase
class TestPartnerHotfixes(TransactionCase):
    def setUp(self):
        super(TestPartnerHotfixes, self).setUp()
        self.res_partner = self.registry['res.partner']
    def test_dummy(self):
        self.fail()

And yet the command runs without reporting any error.

I installed the module in the DB, but the same results after installation.  Do I need to install the module in a DB to be testable?

Manuel.