def test_approve_addons_get_review_type(use_case):
 (addon, file1, _, review_type) = use_case
 assert (approve_addons.get_review_type(file1) == review_type)

def test_approve_addons_get_review_type ( use_case ) : ( addon , file1 , _ , review_type ) = use_case assert ( approve_addons . get_review_type ( file1 ) == review_type )
review type depends on the file and addon status .