def test_main_interface_falls_back_to_aao(self):
    self.mock_response(self.AMAZON_URL, content_type='text/html')
    album = _common.Bag(asin=self.ASIN)
    self.plugin.art_for_album(album, [self.dpath])
    self.assertEqual(responses.calls[(- 1)].request.url, self.AAO_URL)
def test_main_interface_falls_back_to_aao(self):
    self.mock_response(self.AMAZON_URL, content_type='text/html')
    album = _common.Bag(asin=self.ASIN)
    self.plugin.art_for_album(album, [self.dpath])
    self.assertEqual(responses.calls[(- 1)].request.url, self.AAO_URL)