Because we moved away from unittest for some time now...
Details
Details
- Reviewers
anlambert - Group Reviewers
Reviewers - Commits
- rDCIDX3d2034d57278: test_journal_client: Migrate to pytest
tox
Diff Detail
Diff Detail
- Repository
- rDCIDX Metadata indexer
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D4606 (id=16348)
Could not rebase; Attempt merge onto d92c241980...
Updating d92c241..3d2034d Fast-forward swh/indexer/cli.py | 2 +- swh/indexer/journal_client.py | 4 +- swh/indexer/tests/test_cli.py | 2 +- swh/indexer/tests/test_journal_client.py | 261 ++++++++++++++----------------- 4 files changed, 124 insertions(+), 145 deletions(-)
Changes applied before test
commit 3d2034d572782b254ab35a0713951a3d530c4881
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date: Thu Nov 26 15:25:36 2020 +0100
test_journal_client: Migrate to pytest
commit 7e03cc687c00b44cb7fbd76467566ad2de52eed1
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date: Thu Nov 26 15:12:55 2020 +0100
indexer.journal_client: Subscribe to OriginVisitStatus topic
... instead of OriginVisit.
OriginVisit model object no longer hold status information so the current
filtering happening on the journal client side could not work.
Related to T2814
Related to P882See https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/125/ for more details.