#NEWLINE# def test_update_job( self ) : #NEWLINE# #INDENT# fake_client_class = mock . Mock ( spec = 'chronos.ChronosClient' ) #NEWLINE# fake_client = fake_client_class ( servers = [ ] ) #NEWLINE# chronos_tools . update_job ( job = fake_client . fake_config_dict , client = fake_client ) #NEWLINE# fake_client . update . assert_called_once_with ( self . fake_config_dict )