Refactor to store Album/Artist images in info dict
This commit is contained in:
parent
d1af8d3ebc
commit
fa601b8111
2 changed files with 23 additions and 17 deletions
|
@ -322,7 +322,7 @@ class TestPyLastNetwork(PyLastTestCase):
|
|||
|
||||
# Act
|
||||
results = search.get_next_page()
|
||||
images = results[0].images
|
||||
images = results[0].info["image"]
|
||||
|
||||
# Assert
|
||||
self.assertEqual(len(images), 4)
|
||||
|
@ -354,7 +354,7 @@ class TestPyLastNetwork(PyLastTestCase):
|
|||
|
||||
# Act
|
||||
results = search.get_next_page()
|
||||
images = results[0].images
|
||||
images = results[0].info["image"]
|
||||
|
||||
# Assert
|
||||
self.assertEqual(len(images), 5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue