'Test unique visitors API call.'

def test_visitors(self):

    kind = MetricKindFactory(code=VISITORS_METRIC_CODE)
    MetricFactory(kind=kind, start=date.today(), end=date.today(), value=42)
    r = self._get_api_result('api.kpi.visitors')
    eq_(r['objects'][0]['visitors'], 42)
