def test_rate_limit(rate_client):
    with pytest.raises(ratelimit.RateLimitException):
        for _ in range((RATE_LIMIT * 2)):
            rate_client.users.get('me')
def test_rate_limit(rate_client):
    with pytest.raises(ratelimit.RateLimitException):
        for _ in range((RATE_LIMIT * 2)):
            rate_client.users.get('me')