def METHOD_NAME():
    with pytest.raises(ValueError) as val_err:
        # unknown driver
        intake.open_catalog("", driver="unknown")
    assert "plugin directory" in str(val_err.value).lower()
    with pytest.raises(AttributeError) as attr_err:
        intake.open_not_a_real_plugin()
    assert "plugin directory" in str(attr_err.value).lower()