Example #1
0
 def execute(self):
     return api._combine(self.stdout.readlines(), self.stderr.readlines())
Example #2
0
 def test_combine(self):
     list1 = ['foo', 'bar']
     list2 = ['baz']
     combined = list(_combine(list1, list2))
     self.assertEqual([('foo', 'baz'), ('bar', None)], combined)