def METHOD_NAME(self):
    """Test CharAttribute."""
    rc = create_resource_cls("attr_id", CharAttribute)
    r = rc("attr_id", ord("\n"))
    assert r.attr == "\n"
    r.attr = "\r"
    assert r.attr == "\r"
    assert r.attr_value == 13