def METHOD_NAME(self):
    dfobj = parse.get_dockerfile_obj(self.buildpack)
    image_list = parse.parse_from_image(dfobj)
    self.assertEqual(image_list, [{'name': 'debian',
                                   'tag': 'jessie',
                                   'digest_type': '',
                                   'digest': ''}])
    dfobj = parse.get_dockerfile_obj(self.buildpackpinned)
    image_list = parse.parse_from_image(dfobj)
    debian_digest = ('e25703ee6ab5b2fac31510323d959cdae31eebdf48e88891c54'
                     '9e55b25ad7e94')
    self.assertEqual(image_list, [{'name': 'debian',
                                   'tag': '',
                                   'digest_type': 'sha256',
                                   'digest': debian_digest}])