class_docstr: Test miscellaneous helper functions in data_manager.
class_docstr_tok: ["Test","miscellaneous","helper","functions","in","data_manager","."]
docstr: Test list_attributes
docstr_tok: ["Test","list_attributes"]
code: def test_list_attributes(self):
      """Test list_attributes"""
      assert (
          qml.data.list_attributes("qchem")
          == _data_struct["qchem"]["attributes"]
      )
      with pytest.raises(
          ValueError, match="Currently the hosted datasets are of types"
      ):
          qml.data.list_attributes("invalid_data_name")
  
imports: import os
  from pathlib import Path, PosixPath
  from unittest.mock import MagicMock, patch
  import pytest
  import requests
  import pennylane
  import pennylane.data.data_manager
  from pennylane.data import Dataset
  from pennylane.data.data_manager import S3_URL, DataPath, _validate_attributes
label_desc: Use image node_id 2 for calling the TestMiscHelpers obj's underlying member method code with example usage: obj.test_list_attributes() without return types