pytest-odoo
pytest-odoo copied to clipboard
pytest plugin to run Odoo tests
Hi, I'm investigating this wonderful piece of code. Analyzing this: https://github.com/odoo-dev/odoo/commit/95a131b7f4eebc6e2c623f936283153d62f9e70f My questions are: - How far standard odoo module test are supported? - Looking at the [marked modules](https://github.com/odoo-dev/odoo/commit/95a131b7f4eebc6e2c623f936283153d62f9e70f#diff-c7230e981a41a4d97599ea8b62013765R5), is...
Odoo code base somewhere relies on `threading.currentThread().testing = True` They set it here https://github.com/odoo/odoo/blob/11.0/odoo/modules/module.py#L503 and we tried already to simulate it here https://github.com/camptocamp/pytest-odoo/blob/master/pytest_odoo.py#L84 Still, seems to not work as expected....
I just wanted to thank you for making this module. It is a god sent! :) It works very nicely with coverage! We are going to use it with our...
Pytest adds a new `--odoo-log-level` option which is forwarded as odoo's log level. By default it uses the `critical` log level to display the less logs possible. But you can...
For testing some addons, we need to customize the `--load` option, should be added in https://github.com/camptocamp/pytest-odoo/blob/33e4e634920a96c4ec9fc043900d53a952350bbd/pytest_odoo.py#L27-L34
Hey, I'm really glad I found your plugin! And it works flawlessly in a terminal. Now I'd like to use it with Eclipse's py.test runner. I tried (too) many things...
The py dependency has been removed in pytest: https://github.com/pytest-dev/pytest/pull/10396
Last release 1.0.1 didn't land yet on PyPI because of 
Hi, I'd like to use it with [pytest-xdist](https://pypi.org/project/pytest-xdist/), but get Deadlocks because of simultaneus updates. As I have my fresh DB (with demo data) ready before calling pytest -- I...
This is more a question than an issue, but it could become a feature request if feature parity is _feasible_. AFAICS pytest-odoo had a gap to bridge years ago: running...