Beispiel #1
0
 def test_52_write_to_output__stdout(self):
     TT.write_to_output("hello")
Beispiel #2
0
    def test_50_write_to_output__create_dir(self):
        output = os.path.join(self.workdir, "a", "out.txt")
        TT.write_to_output("hello", output)

        self.assertEquals(open(output).read(), "hello")