#NEWLINE# def test_no_headers( self , debug_mock , time_mock ) : #NEWLINE# #INDENT# 'Ensure _log_task_info produces the correct logs.' #NEWLINE# from furious import handlers #NEWLINE# time_mock . return_value = 1.5 #NEWLINE# headers = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# handlers . _log_task_info ( expected_logs ) #NEWLINE# expected_logs = '{"ran": 1.5, "retry_count": "", "gae_latency_seconds": 1.5, "task_eta": 0.0, "execution_count": ""}' #NEWLINE# debug_mock . assert_called_with ( 'TASK-INFO: %s' , expected_logs )