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