pytest-odoo icon indicating copy to clipboard operation
pytest-odoo copied to clipboard

pytest plugin to run Odoo tests

Results 25 pytest-odoo issues
Sort by recently updated
recently updated
newest added

### What I'm doing: I have an odoo 15 instance that I run from the source code using `.venv` virtual environment After activating the enviroment using `source /odoo15/.venv/activate` I ran...

This is useful to use pytest (and IDE test discovery) in migration projects where we have a bunch of uninstallable addons.

Hello guys, first i would like to thank you for this awesome tool ! I'm running Odoo from docker container and what i did is the following : 1. I...

Hello, Trying to run a test per module using cmd but getting import errors. any idea? pytest --odoo-config=/odoo/conf/odoo.cfg --odoo-database=testdb --odoo-log-level=debug --junitxml=junit-report.xml -s /odoo/src/tiny_apps/tiny_apps/purchase_batch_order > odoo@review-develop-3zknud:~$ pytest --odoo-config=/odoo/conf/odoo.cfg --odoo-database=lasgdb --odoo-log-level=debug --junitxml=junit-report.xml...

I came across this module while trying to do development within PyCharm. I can't seem to get this working properly with their testing interface and I was hoping some one...

When run pytest with odoo12 and python 3.8.6 i get the following error: @pytest.fixture(scope='session', autouse=True) def load_registry(): # Initialize the registry before running tests. # If we don't do that,...

I'd like to skip test class decorated with the "at_install" odoo test tags while running my test using pytest. Is there already some way to do so without adding extra...

First of all, thanks for a great pytest plugin. I wonder if there is an easy way to access to ORM Environment like self.env['res.users'] .... I have searched in pytest_odoo.py...