Skip to content

[IMP] Support Odoo 18 + 19 + auto skip HttpCase without --odoo-http + subtests + test integration#93

Open
petrus-v wants to merge 9 commits intocamptocamp:masterfrom
petrus-v:integration-test
Open

[IMP] Support Odoo 18 + 19 + auto skip HttpCase without --odoo-http + subtests + test integration#93
petrus-v wants to merge 9 commits intocamptocamp:masterfrom
petrus-v:integration-test

Conversation

@petrus-v
Copy link
Copy Markdown
Contributor

@petrus-v petrus-v commented Feb 6, 2026

Add integration test with real odoo setup.

based on

  •  support Odoo 19
  • subTests
  • integration test
  • --odoo-http support forOdoo 18
  • --odoo-http support forOdoo 19
  • Test that inherit from HttpCase are skipped until we use --odoo-http in command line

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 6, 2026

Codecov Report

❌ Patch coverage is 76.92308% with 9 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@68ab355). Learn more about missing BASE report.

Files with missing lines Patch % Lines
pytest_odoo.py 76.92% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master      #93   +/-   ##
=========================================
  Coverage          ?   68.98%           
=========================================
  Files             ?        1           
  Lines             ?      158           
  Branches          ?        0           
=========================================
  Hits              ?      109           
  Misses            ?       49           
  Partials          ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@petrus-v petrus-v force-pushed the integration-test branch 7 times, most recently from dbf05a2 to 98d1455 Compare February 8, 2026 00:11
petrus-v and others added 3 commits February 9, 2026 02:39
@petrus-v petrus-v changed the title WIP add Integration test [IMP] Support Odoo 18 + 19 + auto skip HttpCase without --odoo-http + subtests + test integration Feb 11, 2026
@petrus-v petrus-v marked this pull request as ready for review February 11, 2026 23:02
@petrus-v petrus-v mentioned this pull request Mar 25, 2026
JosDeGraeve added a commit to ACCOMODATA-BVBA/pytest-odoo that referenced this pull request Mar 28, 2026
@msjtheriault
Copy link
Copy Markdown

I can't test everything this PR does, but I can confirm it fixes the odoo 19 import problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants