How to assert output with nosetest/unittest in python? How to assert output with nosetest/unittest in python? python python