This allows us to actually run the lister instantiation code instead of relying
on the underlying structure of the lister object. In turn, this allows future
listers to use the scheduler right in their init.
Depends on D3524.
Differential D3525
Move get_scheduler monkeypatching into an explicit pytest fixture olasd on Jul 16 2020, 12:21 PM. Authored by
Details
This allows us to actually run the lister instantiation code instead of relying Depends on D3524. tox
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3525 (id=12451)Could not rebase; Attempt merge onto 5f1fbbe8a4... Updating 5f1fbbe..211f461 Fast-forward MANIFEST.in | 3 +-- conftest.py | 18 ++++++++++++++++++ swh/lister/core/tests/conftest.py | 4 +--- swh/lister/tests/test_cli.py | 2 +- 4 files changed, 21 insertions(+), 6 deletions(-) Changes applied before testcommit 211f4610df2006e939bb3f6e8f2cb7b87151dfba Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Thu Jul 16 11:45:58 2020 +0200 Move get_scheduler monkeypatching into an explicit pytest fixture This allows us to actually run the lister instantiation code instead of relying on the underlying structure of the lister object. In turn, this allows future listers to use the scheduler right in their __init__. commit d0c1df65f1f4b05cd9e766ee3916d25182ecdb25 Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Thu Jul 16 10:27:54 2020 +0200 Only include relevant data files in MANIFEST.in The previous include would pull all .mypy_cache directories too, which are quite large as they include the SQLAlchemy stubs. See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/21/ for more details. Comment Actions
I don't follow all the sentence, the lister instantiation did take place before... Given enough reading, the puzzle pieces fall into place ;) |