Lines Matching full:lines
161 lines = out[0].splitlines()
162 #print '\n'.join(lines)
163 self.assertEqual('Cleaned %s patches' % len(series.commits), lines[0])
164 self.assertEqual('Change log missing for v2', lines[1])
165 self.assertEqual('Change log missing for v3', lines[2])
166 self.assertEqual('Change log for unknown version v4', lines[3])
167 self.assertEqual("Alias 'pci' not found", lines[4])
168 self.assertIn('Dry run', lines[5])
169 self.assertIn('Send a total of %d patches' % count, lines[7])
172 self.assertEqual(' %s' % args[i], lines[line + 0])
174 while 'Cc:' in lines[line]:
176 self.assertEqual('To: u-boot@lists.denx.de', lines[line])
177 self.assertEqual('Cc: %s' % stefan.encode('utf-8'), lines[line + 1])
178 self.assertEqual('Version: 3', lines[line + 2])
179 self.assertEqual('Prefix:\t RFC', lines[line + 3])
180 self.assertEqual('Cover: 4 lines', lines[line + 4])
182 self.assertEqual(' Cc: %s' % mel.encode('utf-8'), lines[line + 0])
183 self.assertEqual(' Cc: %s' % rick, lines[line + 1])
184 self.assertEqual(' Cc: %s' % fred, lines[line + 2])
185 self.assertEqual(' Cc: %s' % ed.encode('utf-8'), lines[line + 3])
192 self.assertEqual(expected, lines[line])
225 lines = open(cover_fname).read().splitlines()
226 #print '\n'.join(lines)
229 lines[3])
230 self.assertEqual(expected.splitlines(), lines[7:])
233 lines = open(fname).read().splitlines()
234 #print '\n'.join(lines)
235 subject = [line for line in lines if line.startswith('Subject')]
240 self.assertEqual('---', lines[17])
241 self.assertEqual('Some notes about', lines[18])
242 self.assertEqual('the first commit', lines[19])