#NEWLINE# @ mock . patch ( 'paasta_tools.chronos_tools.lookup_chronos_jobs' , autospect = True ) #NEWLINE# @ mock . patch ( 'paasta_tools.chronos_tools.get_chronos_client' , autospect = True ) #NEWLINE# @ mock . patch ( 'paasta_tools.chronos_tools.load_chronos_config' , autospect = True ) #NEWLINE# def test_find_matching_parent_job_none_matching( self , mock_lookup_chronos_jobs , mock_get_chronos_client , mock_load_chronos_config ) : #NEWLINE# #INDENT# mock_lookup_chronos_jobs . return_value = [ ] #NEWLINE# matching = chronos_tools . get_job_for_service_instance ( 'service' , 'instance' ) #NEWLINE# assert ( mock_get_chronos_client is None )