def METHOD_NAME(self, svc, valid_keys):
    # Keys created the 10th, max age of 2, doesn't expire the keys on the
    # 11th.
    svc.rotate(3, max_age=timedelta(days=2), max_expired_age=timedelta(days=5))
    assert not any((key.expired for key in valid_keys))