Description
In the #7 feature branch, I noticed that when testing the prompt features, it seems that all output post-prompt-handling is no longer captured.
This should be easy enough to fix, but the real reason for this ticket is to come up with a decent way to test this.
We have limited testing of the SSH stuff with a fake Channel object in tests/test_network.py, but what's needed now is a way to mock the stop-start-stop-start jazz that happens when a real user is present. I'm assuming this is a solved problem and need to look it up, or think about it sometime when I'm not burnt out at the end of a long day :)
Originally submitted by Jeff Forcier (bitprophet) on 2010-06-21 at 10:46pm EDT
Relations
Closed as Done on 2010-07-13 at 07:16pm EDT
Description
In the #7 feature branch, I noticed that when testing the prompt features, it seems that all output post-prompt-handling is no longer captured.
This should be easy enough to fix, but the real reason for this ticket is to come up with a decent way to test this.
We have limited testing of the SSH stuff with a fake Channel object in
tests/test_network.py, but what's needed now is a way to mock the stop-start-stop-start jazz that happens when a real user is present. I'm assuming this is a solved problem and need to look it up, or think about it sometime when I'm not burnt out at the end of a long day :)Originally submitted by Jeff Forcier (bitprophet) on 2010-06-21 at 10:46pm EDT
Relations
Closed as Done on 2010-07-13 at 07:16pm EDT