KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to test a function that takes input from stdin , which I'm currently testing with something like this: cat /usr/share/dict/words | ./spellchecker.py In the name of test automation, is there any way that pyunit can fake input to raw_input() ?
Tags (comma-separated)
Save Edits
Cancel