class_docstr: Tests for ``FolderMapView``
class_docstr_tok: ["Tests","for","``","FolderMapView","``"]
docstr: Test that __repr__ is equivalent to a dict repr, with the private
  keys removed.
docstr_tok: ["Test","that","__repr__","is","equivalent","to","a","dict","repr",",","with","the","private","keys","removed","."]
code: def test_repr(self):
      """Test that __repr__ is equivalent to a dict repr, with the private
      keys removed."""
      assert repr(
          FolderMapView(
              {
                  "__params": {
                      "qchem": ["molname", "basis", "bondlength"],
                  },
                  "qchem": {
                      "H2": {
                          "__default": "STO-3G",
                          "STO-3G": {
                              "__default": "0.7",
                              "0.7": "qchem/H2/STO-3G/0.7.h5",
                          },
                      }
                  },
              }
          )
      ) == repr(
          {
              "qchem": {
                  "H2": {"STO-3G": {"0.7": "qchem/H2/STO-3G/0.7.h5"}}
              }
          }
      )
  
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 12 for calling the TestFolderMapView obj's underlying member method code with example usage: obj.test_repr() without return types