Module TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ImportFrom alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Import alias Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad Assign NameStore Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Dict Str Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Dict Str Dict Str Dict Str NameLoad decorator_list decorator_list
N/A N/A N/A N/A unittest2 unittest N/A N/A N/A ImportError N/A N/A unittest mock Mock patch shiva.indexer.lastfm LastFM LastFMTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A sys N/A N/A N/A sys modules N/A pylast N/A Mock N/A api_key FAKE_API_KEY N/A N/A self lastfm N/A LastFM api_key N/A test_caches_artists N/A N/A self N/A N/A N/A artist N/A N/A N/A self lastfm get_artist Artist N/A N/A N/A self assertEqual N/A N/A N/A self lastfm get_artist Artist artist N/A N/A N/A self assertEqual N/A N/A self lastfm cache N/A Artist N/A object artist N/A test_clear_cache N/A N/A self N/A N/A N/A N/A N/A N/A self lastfm get_artist Artist N/A _cache N/A N/A self lastfm cache N/A N/A N/A N/A self lastfm clear_cache N/A N/A N/A self assertNotEqual N/A N/A self lastfm cache _cache N/A test_caches_albums N/A N/A self N/A N/A N/A artist N/A N/A N/A self lastfm get_artist Artist N/A N/A artist name Artist N/A album N/A N/A N/A self lastfm get_album Album name Artist N/A N/A album name Album name N/A N/A N/A self assertEqual N/A N/A N/A self lastfm get_album Album name Artist album N/A N/A N/A self assertEqual N/A N/A self lastfm cache N/A Artist N/A albums N/A Album name album N/A N/A