Page MenuHomeSoftware Heritage

db_testing.py: do not explode when TEST_DB_DUMP = None
ClosedPublic

Authored by zack on Sep 19 2019, 6:14 PM.

Details

Summary

None is the default value, and sub-classes could possible not redefine it to be
an empty list. Hence, this change provides a sane default for downstream users.

Test Plan

tox

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.