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

Here is the stack-trace i get when trying to run a test with pytest version 8 ` ``` pytest --odoo-database ------ odoo/addons/xxx_mrp_machine_cycle/tests ===================================================================================================================================================================== test session starts ====================================================================================================================================================================== platform linux --...

With pytest8, the file collection phase has changed: https://docs.pytest.org/en/8.0.x/changelog.html#collection-changes To take into account Odoo's name binding with "odoo.addons"-prefix, the OdooTestPackage and OdooTestModule classes use adapted functions to compute the module...

Avoid logging error/warning on: fix 2/3 topic of #79 (you needs this PR to make is works https://github.com/odoo/odoo/pull/184409) * In odoo 18 if we load odoo.tests.common before setting `test_enable=True` we...

Just open this issue as self remember from fist try * In odoo 18 there is a change (https://github.com/odoo/odoo/commit/ccf3c1ed3949f3307909678efe1245aa92ef752f) that expect unit test launcher ``` if not result.wasSuccessful() and BaseCase._tests_run_count...

Hello! pyTest 7.4.4 pytest-odoo 1.0.0 For any test that is decorated with `@tests.users` such as: ```python from odoo import tests ... @tests.users('demo') def test_xxx(self): self.fail() ``` The tests actually runs...