def test_output_handling(self): output = Output() teststring = "test this output" output.set_output(teststring) output.append_output(teststring) self.assertEqual(output.get_output(), 2*teststring)