Lines Matching refs:kern
176 kern = line.get_kernel()
178 self.assertEquals(kern.base, '2.6.24-rc40')
179 self.assertEquals(kern.patches[0].spec, 'first_patch')
180 self.assertEquals(kern.patches[1].spec, 'another_patch')
181 self.assertEquals(len(kern.patches), 2)
182 self.assertEquals(kern.kernel_hash, kernel_hash)
192 kern = line.get_kernel()
194 self.assertEquals(kern.base, '2.6.24-rc40')
195 self.assertEquals(kern.patches[0].spec, 'first_patch')
196 self.assertEquals(len(kern.patches), 1)
197 self.assertEquals(kern.kernel_hash, kernel_hash)
206 kern = line.get_kernel()
207 self.assertEquals(kern.base, 'UNKNOWN')
208 self.assertEquals(kern.patches, [])
209 self.assertEquals(kern.kernel_hash, 'UNKNOWN')