class_docstr: Tests for ``FolderMapView``
class_docstr_tok: ["Tests","for","``","FolderMapView","``"]
docstr: Test that a ValueError is raised when a parameter provided
  does not exist.
docstr_tok: ["Test","that","a","ValueError","is","raised","when","a","parameter","provided","does","not","exist","."]
code: def test_find_invalid_parameter(self, arg, error_fmt):
      """Test that a ValueError is raised when a parameter provided
      does not exist."""
  
      with pytest.raises(
          ValueError,
          match=re.escape(
              f"molname value(s) {error_fmt} are not available. Available values are: ['O2', 'H2']"
          ),
      ):
          FolderMapView(FOLDERMAP).find("qchem", molname=arg)
  
file_path: pennylane/tests/data/data_manager/test_foldermap.py
imports: import re
  import pytest
  from pennylane.data.data_manager import DEFAULT, FULL, DataPath
  from pennylane.data.data_manager.foldermap import Description, FolderMapView
label_desc: Use image node_id 5 for calling the TestFolderMapView obj's underlying member method code with example usage: obj.test_find_invalid_parameter(arg, error_fmt) without return types