#NEWLINE# def assert_task_called( self , task , name , * args , **kawargs ) : #NEWLINE# #INDENT# task . assert_has_calls ( [ mock . call ( name , kawargs , kawargs , countdown = 2 ) ] , any_order = True )