def METHOD_NAME(db):
    """Method to test deleting ticket holders with no order id after expiry time"""
    attendee = AttendeeSubFactory(created_at=common.date_)
    db.session.commit()
    attendee_id = attendee.id
    delete_ticket_holders_no_order_id()
    ticket_holder = TicketHolder.query.get(attendee_id)
    assert ticket_holder == None