def test_approve_addons_get_files(use_case):
 (addon, file1, file2, review_type) = use_case
 assert (approve_addons.get_files([addon.guid]) == [file1, file2])

def test_approve_addons_get_files ( use_case ) : ( addon , file1 , file2 , review_type ) = use_case assert ( approve_addons . get_files ( [ addon . guid ] ) == [ file1 , file2 ] )
files that need to get approved are returned in the list .