ivandokov / phockup

Media sorting tool to organize photos and videos from your camera in folders by year, month and day.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--maxdepth unit tests appear to be in error?

rob-miller opened this issue · comments

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?

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