def METHOD_NAME(self):
    """Assert the first call is allowed and the subsequent one is not."""
    record = test_log.makeRecord(
        "test_name", logging.INFO, "/my/file.py", 3, "beep boop", tuple(), None)
    rate_filter = bodhi_logging.RateLimiter(rate=60)
    assert rate_filter.filter(record)
    assert not rate_filter.filter(record)