class_docstr: Tests for ``FolderMapView``
class_docstr_tok: ["Tests","for","``","FolderMapView","``"]
docstr: Test that ``getitem`` raises a ValueError if ``DEFAULT`` is
  used, but there is no default defined for that level.
docstr_tok: ["Test","that","``","getitem","``","raises","a","ValueError","if","``","DEFAULT","``","is","used",",","but","there","is","no","default","defined","for","that","level","."]
code: def test_getitem_default_none(self, init):
      """Test that ``getitem`` raises a ValueError if ``DEFAULT`` is
      used, but there is no default defined for that level."""
  
      with pytest.raises(ValueError, match="No default available"):
          _ = FolderMapView(init)[DEFAULT]
  
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 9 for calling the TestFolderMapView obj's underlying member method code with example usage: obj.test_getitem_default_none(init) without return types