HomeSoftware Heritage

cli: add tests

Description

cli: add tests

  • add smoke and unit tests
  • mock scanner to not run actual scan
  • spy on config loading to verify how config is loaded
  • use a sample test config file and add it to MANIFEST

Details

Provenance
tenmaAuthored on Oct 11 2020, 11:06 AM
tenmaPushed on Oct 13 2020, 3:24 PM
Parents
rDTSCN92f684b71e7d: cli: fix behavior in case an invalid config file is given
Branches
Unknown
Tags
Unknown
Build Status
Buildable 16230
Build 24968: test-and-buildJenkins console · Jenkins