def METHOD_NAME(db):
    """Method to test not deleting ticket holders with order id after expiry time"""
    attendee = AttendeeOrderSubFactory(
        created_at=datetime.datetime.utcnow() - datetime.timedelta(minutes=15),
        modified_at=datetime.datetime.utcnow() - datetime.timedelta(minutes=15),
    )
    db.session.commit()
    attendee_id = attendee.id
    delete_ticket_holders_no_order_id()
    ticket_holder = TicketHolder.query.get(attendee_id)
    assert ticket_holder != None