Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Test mock odoo module #76

Closed
wants to merge 10 commits into from

Commits on Oct 4, 2024

  1. [FIX] _find_manifest_path when no manifest found

    This happens if the test module is less than 5 directories
    deep from root.
    petrus-v authored and yvaucher committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8512da6 View commit details
    Browse the repository at this point in the history
  2. Mock Odoo module for unit tests

    As Odoo is an heavy piece of software and we don't have to check it runs we can mock the import. For further unit tests, the few methods we use will have to be mocked too.
    yvaucher committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0d1a586 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e28a371 View commit details
    Browse the repository at this point in the history
  4. Test with pytester

    yvaucher committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    dee29ca View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. use pytest-cov

    yvaucher committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    cd26c99 View commit details
    Browse the repository at this point in the history
  2. Use tox

    yvaucher committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    00e1e79 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f366539 View commit details
    Browse the repository at this point in the history
  4. xml report for codecov

    yvaucher committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    93f0aee View commit details
    Browse the repository at this point in the history
  5. Set token for codecov

    yvaucher committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    84ddc22 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f132885 View commit details
    Browse the repository at this point in the history