Page MenuHomeSoftware Heritage

npm.lister: Add integration test which checks the scheduled tasks
ClosedPublic

Authored by ardumont on Oct 10 2019, 10:15 PM.

Details

Summary

This checks only the basic listing implementation.

Related T2032

Test Plan

tox

Diff Detail

Repository
rDLS Listers
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build has FAILED

well, i don't get it yet.
tomorrow.

This revision is now accepted and ready to land.Oct 11 2019, 1:29 PM
ardumont edited the summary of this revision. (Show Details)

Rebase to latest master

Build has FAILED

It might be related to symbolic i use to avoid duplication.

Checking patch swh/lister/npm/tests/test_npm_lister.py...
Checking patch swh/lister/npm/tests/api_response.json => swh/lister/npm/tests/data/replicate.npmjs.com/_all_docs,startkey=%22%22,limit=1001...
Checking patch dev/null => swh/lister/npm/tests/api_response.json...
error: dev/null: does not exist in index

Moving tests data within the tests/data/ folder.

And try to fix the failing build