I found the below code here on stackoverflow in order to write my python unittest results to a text file. Per the python unittest documentation the first argument in unitte