To run the tests for my module addon, install the module with demo data:
$ ./odoo-bin -c project.cfg --without-demo=False --stop-after-init \
-i my_module
Then, run the following command:
$ ./odoo-bin -c project.cfg --test-enable --log-level=error \
--stop-after-init -u my_module