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()`?