class_docstr: Tests for ``FolderMapView``
class_docstr_tok: ["Tests","for","``","FolderMapView","``"]
docstr: Test that ``getitem`` returns the expected values, including
  for default values and nested foldermaps.
docstr_tok: ["Test","that","``","getitem","``","returns","the","expected","values",",","including","for","default","values","and","nested","foldermaps","."]
code: def test_gettitem(self, init, key, expect):
      """Test that ``getitem`` returns the expected values, including
      for default values and nested foldermaps."""
      assert FolderMapView(init)[key] == expect
  
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 7 for calling the TestFolderMapView obj's underlying member method code with example usage: obj.test_gettitem(init, key, expect) without return types