Also add a sample_data fixture to read default test data from.
Depends on D2083
Differential D2084
swh.storage.filter: Add filtering storage implementation ardumont on Oct 8 2019, 2:40 PM. Authored by Tags Subscribers None
Details
Diff Detail
Event TimelineComment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/667/ Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/668/ Comment Actions
It always did that. It's for doing it client side as the current loaders do but it's entangled within its own loading logic (check swh.loader.core.loader.BufferedLoader). This allows to untangle that part configuration wise. Maybe the issue is with where i've put the modules.
Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/671/ Comment Actions
swh/storage/filter.py:50: error: Argument 2 to "_filter_missing_ids" of "FilteringProxyStorage" has incompatible type "Generator[Any, None, None]"; expected "Sequence[bytes]" hi ho! Comment Actions Right, indeed
Right! Accepting the diff, just make sure to fix the typo and the build Comment Actions Actually, I still have some nitpicking to do: instead of having sample_data as a large fixture returning a dict of various value types; could you split it into smaller fixtures, each returning a single type of values? Comment Actions 15:11 <+ardumont> i agree but there is an in-progress from douardda about the storage implem' tests 15:11 <+ardumont> and i think he will come up with something better 15:12 <vlorentz> are you *sure* this large fixture will be removed in the next ~2 weeks? 15:12 <+ardumont> most probably yes because *I*'ll make sure of it 15:12 <vlorentz> okay Comment Actions Build is green Comment Actions Build is green Comment Actions Build is green |