ivandokov / phockup

Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
MIT License
820 stars 100 forks source link

--maxdepth unit tests appear to be in error? #224

Open rob-miller opened 7 months ago

rob-miller commented 7 months ago

The test_maxdepth_zero() and test_maxdepth_one() appear to be in error in that they call e.g.

Phockup('input', 'output', maxdepth=0)

but in order to make maxdepth work on my unit tests I need something like

Phockup('input', 'output', max_depth=0)

Probably everything should be maxdepth without the underscore as that matches the command option?

ivandokov commented 6 months ago

I haven't noticed this one. Yes everything should be maxdepth