def test_monitor_api_keys_one(self, celery, redis, stats):
    today = util.utcnow().strftime('%Y%m%d')
    rate_key = ('apilimit:no_key_1:v1.geolocate:' + today)
    redis.incr(rate_key, 13)
    monitor_api_key_limits.delay().get()
    stats.check(gauge=[('api.limit', ['key:no_key_1', 'path:v1.geolocate'])])
def test_monitor_api_keys_one(self, celery, redis, stats):
    today = util.utcnow().strftime('%Y%m%d')
    rate_key = ('apilimit:no_key_1:v1.geolocate:' + today)
    redis.incr(rate_key, 13)
    monitor_api_key_limits.delay().get()
    stats.check(gauge=[('api.limit', ['key:no_key_1', 'path:v1.geolocate'])])