Yading/7digital-python/tests/artist_tests.py
Go to the documentation of this file.
1 import py7digital
2 
4  artists = py7digital.get_artist_detail('1')
5  for artist in artists.get_next_page():
6  assert artist.get_name().lower() == "keane"
7 
9  artists = py7digital.search_artist("stones")
10  for i in artists.get_next_page():
11  assert i.get_name().lower().find("stones") > -1