#NEWLINE# @ pytest . mark . parametrize ( 'task_name,expected' , PARAMS ) #NEWLINE# def test_basic( task_name , expected ) : #NEWLINE# #INDENT# task = celery . tasks [ task_name ] #NEWLINE# assert ( expected == task . apply_async ( args = ( 4 , 4 ) ) . get ( ) )