Skip to content

The latest test change breaks tests on Odoo.sh #608

Closed

Description

@ventor-dev

Module

Queue Job (queue_job)

Describe the bug

This commit leads to the errors with tests on Odoo.sh (check the screenshot below):

image

image

Looks like this can be easily fixed by removing doctests from this method (or at least removing new line added).

To Reproduce

Affected versions: 15.0.2.5.5, 16.0.2.5.5

Steps to reproduce the behavior:

  1. Create new project on Odoo.sh
  2. Add queue_job module
  3. Wait until tests will be finished

Expected behavior
No errors in tests

Activity

  1. AlexanderPashuk commented on Dec 14, 2023

    @AlexanderPashuk
    Contributor

    Prepared two PRs with hotfix for this issue. I suggest removing this doctest because it makes no sense (at least for me it is not obvious why there should be database with name "odoo" as result of this code).

    I am willing to refactor this test case if needed but need more details about what we want to check while testing?

  2. AlexanderPashuk commented on Mar 13, 2024

    @AlexanderPashuk
    Contributor

    Hi all,

    Prepared the same PR for 17.0 branch: #608

    @gurneyalex could you please merge them? They are the same as were done for 15.0 / 16.0

    Thanks!

  3. github-actions commented on Sep 15, 2024

    @github-actions

    There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
    If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

  4. added
    stalePR/Issue without recent activity, it'll be soon closed automatically.
    on Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstalePR/Issue without recent activity, it'll be soon closed automatically.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions