def test_aao_scraper_finds_image(self):
    body = b'\n        <br />\n        <a href="TARGET_URL" title="View larger image"\n           class="thickbox" style="color: #7E9DA2; text-decoration:none;">\n        <img src="http://www.albumart.org/images/zoom-icon.jpg"\n       alt="View larger image" width="17" height="15"  border="0"/></a>\n        '
    self.mock_response(self.AAO_URL, body)
    album = _common.Bag(asin=self.ASIN)
    res = self.source.get(album)
    self.assertEqual(list(res)[0], 'TARGET_URL')
def test_aao_scraper_finds_image(self):
    body = b'\n        <br />\n        <a href="TARGET_URL" title="View larger image"\n           class="thickbox" style="color: #7E9DA2; text-decoration:none;">\n        <img src="http://www.albumart.org/images/zoom-icon.jpg"\n       alt="View larger image" width="17" height="15"  border="0"/></a>\n        '
    self.mock_response(self.AAO_URL, body)
    album = _common.Bag(asin=self.ASIN)
    res = self.source.get(album)
    self.assertEqual(list(res)[0], 'TARGET_URL')