#NEWLINE# def test_l10n_coverage( self ) : #NEWLINE# #INDENT# 'Test l10n coverage API call.' #NEWLINE# kind = MetricKindFactory ( code = L10N_METRIC_CODE ) #NEWLINE# MetricFactory ( kind = kind , start = date . today ( ) , end = date . today ( ) , value = 56 ) #NEWLINE# r = self . _get_api_result ( 'api.kpi.l10n-coverage' ) #NEWLINE# eq_ ( r [ 'objects' ] [ 0 ] [ 'coverage' ] , 56 )