Fix ssh output being skipped often
ClosedPublic

Authored by mkrizek on Sep 15 2015, 9:49 PM.

Details

Summary

Fix tests

Test Plan

Tried examples given by kparal in the ticket, worked.

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mkrizek retitled this revision from to Fix ssh output being skipped often.Sep 15 2015, 9:49 PM
mkrizek updated this object.
mkrizek edited the test plan for this revision. (Show Details)
mkrizek added reviewers: tflink, kparal, jskladan, lbrabec.
kparal accepted this revision.Sep 16 2015, 10:07 AM
This revision is now accepted and ready to land.Sep 16 2015, 10:07 AM
jskladan accepted this revision.Sep 16 2015, 10:13 AM

apart of the nit, lgtm

testing/test_remote_exec.py
132

Maybe add a comment explaining, to us lower mortals, why read=lambda: '' is important here, pls.

kparal added inline comments.Sep 16 2015, 1:39 PM
testing/test_remote_exec.py
132

Because his patch added code which uses .read() method on these objects. Martin could have used Dingus for this, but Bunch works here as well for these simple use cases.

PS: Bunch is so outdated, cool kids use Munch these days!

kparal added inline comments.Sep 16 2015, 2:34 PM
testing/test_remote_exec.py
132

Please note D593. Let's change to munch?

This revision was automatically updated to reflect the committed changes.