コード例 #1
0
ファイル: test_common.py プロジェクト: Koltrane/rosetta
 def test_write_list_to_filerows(self):
     common.write_list_to_filerows(self.outfile, ['a', 'b'])
     self.assertEqual(self.outfile.getvalue(), 'a\nb\n')
コード例 #2
0
ファイル: test_common.py プロジェクト: jeongyoonlee/rosetta
 def test_write_list_to_filerows(self):
     common.write_list_to_filerows(self.outfile, ["a", "b"])
     self.assertEqual(self.outfile.getvalue(), "a\nb\n")
コード例 #3
0
 def test_write_list_to_filerows(self):
     common.write_list_to_filerows(self.outfile, ['a', 'b'])
     self.assertEqual(self.outfile.getvalue(), 'a\nb\n')