gphotos: new flag --gphotos-include-archived - fixes #4728

New flag --gphotos-include-archived to download and view archived media when needed.
This commit is contained in:
Nicolas Rueff
2021-01-28 17:51:31 +01:00
committed by GitHub
parent 06f1c0c61c
commit f5af761466
4 changed files with 58 additions and 3 deletions

View File

@ -64,6 +64,11 @@ func (f *testLister) startYear() int {
return 2000
}
// mock includeArchived for testing
func (f *testLister) includeArchived() bool {
return false
}
func TestPatternMatch(t *testing.T) {
for testNumber, test := range []struct {
// input