file_utils.download now accepts dirname and filename separately
ClosedPublic

Authored by lbrabec on Jun 24 2014, 9:11 AM.

Details

Summary

Argument dest was replaced with separate dirname and filename (WIP).

Test Plan

WIP, will be discussed with @jskladan

Diff Detail

Repository
rLTRN libtaskotron
Lint
Lint Skipped
Unit
Unit Tests Skipped
lbrabec retitled this revision from to file_utils.download now accepts dirname and filename separately.Jun 24 2014, 9:11 AM
lbrabec updated this object.
lbrabec edited the test plan for this revision. (Show Details)
lbrabec added a reviewer: jskladan.
lbrabec added a subscriber: jskladan.

Although I'd like to see some tests, mocking filesystem is not that straightforward (that probably being the reason for zero coverage of file_utils), so I guess that we'll have to do without these. Or is a "functional" test creating (and the cleaning up) some tmpdir a viable option? Adding @tflink as the testing guru ;)

Otherwise, the code looks good to me.

jskladan accepted this revision.Jun 25 2014, 1:15 PM

Time passes, I guess you can ship it...

This revision is now accepted and ready to land.Jun 25 2014, 1:15 PM
lbrabec closed this revision.Jun 25 2014, 2:02 PM
lbrabec updated this revision to Diff 461.

Closed by commit rLTRNedfb3abcda1d (authored by @lbrabec).