'Test l10n coverage API call.'

def test_l10n_coverage(self):

    kind = MetricKindFactory(code=L10N_METRIC_CODE)
    MetricFactory(kind=kind, start=date.today(), end=date.today(), value=56)
    r = self._get_api_result('api.kpi.l10n-coverage')
    eq_(r['objects'][0]['coverage'], 56)
