Exemple #1
0
 def test_read_2(self):
     io = ListSource()
     self.assertEqual([], list(io.read()))
Exemple #2
0
 def test_read_1(self):
     io = ListSource(['a', 'b'])
     self.assertEqual(["a", 'b'], list(io.read()))