def METHOD_NAME(self):
    result = runCmd('bitbake-layers layerindex-show-depends meta-poky')
    find_in_contents = re.search("openembedded-core", result.output)
    self.assertTrue(find_in_contents, msg = "openembedded-core should have been listed at this step. bitbake-layers layerindex-show-depends meta-poky output: %s" % result.output)