def test_load_data_invalid_metadata(self):
        """Tests behavior when requesting invalid metadata field."""
        import pytest

        with pytest.raises(ValueError):
            self.reader.load_data("space1", metadata_names=["invalid_field"])
Tests behavior when requesting invalid metadata field.
llama-index-integrations/readers/llama-index-readers-gitbook/tests/test_simple_gitbook_reader.py