def METHOD_NAME(self):
    result = runCmd('bitbake-layers show-recipes')
    self.assertIn('aspell:', result.output)
    self.assertIn('mtd-utils:', result.output)
    self.assertIn('core-image-minimal:', result.output)
    result = runCmd('bitbake-layers show-recipes mtd-utils')
    self.assertIn('mtd-utils:', result.output)
    self.assertNotIn('aspell:', result.output)
    result = runCmd('bitbake-layers show-recipes -i image')
    self.assertIn('core-image-minimal', result.output)
    self.assertNotIn('mtd-utils:', result.output)
    result = runCmd('bitbake-layers show-recipes -i cmake,pkgconfig')
    self.assertIn('libproxy:', result.output)
    self.assertNotIn('mtd-utils:', result.output) # doesn't inherit either
    self.assertNotIn('wget:', result.output) # doesn't inherit cmake
    self.assertNotIn('waffle:', result.output) # doesn't inherit pkgconfig
    result = runCmd('bitbake-layers show-recipes -i nonexistentclass', ignore_status=True)
    self.assertNotEqual(result.status, 0, 'bitbake-layers show-recipes -i nonexistentclass should have failed')
    self.assertIn('ERROR:', result.output)