Page MenuHomeSoftware Heritage

Factorize list merges in indexer mappings
ClosedPublic

Authored by vlorentz on Jan 15 2019, 8:22 PM.

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
factorize-list-merge
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 3582
Build 4652: tox-on-jenkinsJenkins
Build 4651: arc lint + arc unit

Event Timeline

douardda added a subscriber: douardda.
douardda added inline comments.
swh/indexer/metadata_dictionary.py
161

Why a method? self is unused, so a bare function is fine here.

Which then allows you to very easily write unit tests for ๐Ÿ˜„

This revision now requires changes to proceed.Jan 16 2019, 10:27 AM
  • Move merge_values out of a class and add test.
This revision is now accepted and ready to land.Jan 24 2019, 5:30 PM
This revision was automatically updated to reflect the committed changes.