Page MenuHomeSoftware Heritage

Import the journal subcommand in the main swh.scheduler cli
ClosedPublic

Authored by vlorentz on Jan 19 2021, 6:03 PM.

Details

Summary

This issue was masked by tox.ini using pytest with --doctest-modules,
which imports all modules during test collection, and therefore executing
the side-effects of swh.scheduler.cli.journal.

Test Plan

"it works on my machine" (run pytest without --doctest-modules)

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D4886 (id=17353)

Rebasing onto 0a32a31195...

First, rewinding head to replay your work on top of it...
Applying: Import the journal subcommand in the main swh.scheduler cli
Changes applied before test
commit b81a1f2460c209b0d7c612315290fe0233285e9f
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Jan 19 17:56:44 2021 +0100

    Import the journal subcommand in the main swh.scheduler cli
    
    This issue was masked by tox.ini using pytest with --doctest-modules,
    which imports all modules during test collection, and therefore executing
    the side-effects of swh.scheduler.cli.journal.

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/164/ for more details.

This revision is now accepted and ready to land.Jan 20 2021, 9:35 AM

Build is green

Patch application report for D4886 (id=17374)

Rebasing onto f8627a96fe...

Current branch diff-target is up to date.
Changes applied before test
commit 98526539a8e4fe8a002e5b32370bfc12bc7dc2e7
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Jan 19 17:56:44 2021 +0100

    Import the journal subcommand in the main swh.scheduler cli
    
    This issue was masked by tox.ini using pytest with --doctest-modules,
    which imports all modules during test collection, and therefore executing
    the side-effects of swh.scheduler.cli.journal.

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/177/ for more details.