from aws_lambda_powertools.utilities.typing import LambdaContext

import events.send_reminder_emails as app


def test_reminder_no_access_after_3_days(
    seeds,
    lambda_context: LambdaContext,
):
    event = {
        'detail': {
            'old_image': {
                'id': '47ZxxcVBjvhDS5TE98tpfQ',
                'sk': 'SCHEDULE#REMINDER_NO_ACCESS_AFTER_3_DAYS',
            }
        }
    }

    app.send_email = lambda *args, **kwargs: ...

    assert app.lambda_handler(event, lambda_context)  # type: ignore
