def test_should_produce_known_output(self):
    with open('temp', 'w') as target:
        the_function_that_does_real_work('config1.txt', arg2=100, arg3=15,
            out=target)
regression testing the entire app in Python