from aws_lambda_powertools.utilities.typing import LambdaContext

import events.send_reminder_emails as app


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

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

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