Technical mailing list archives

Re: How to run tests?

- 09/17/2014 11:19:47
Le 17/09/14 11:08, Leonardo Pistone a écrit :
<blockquote cite="" 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):

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?