ivandokov / phockup

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

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

Open rob-miller opened 1 year ago

rob-miller commented 1 year 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 11 months ago

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