def test_component_id_item_access_missing():
    data = Data()
    with pytest.raises(KeyError):
        data.id['not found']
id attribute should raise KeyError if requesting a bad ComponentID
dataset/ETHPy150Open glue-viz/glue/glue/core/tests/test_data.py/test_component_id_item_access_missing