code: def test_node_edge_type_padding(store_type):
      if store_type == "node":
          stores = ["v1", "v2", "v3", "v4"]
          padding_cls = NodeTypePadding
      else:
          stores = [
              ("v1", "e1", "v1"),
              ("v1", "e2", "v1"),
              ("v1", "e1", "v2"),
              ("v2", "e1", "v1"),
          ]
          padding_cls = EdgeTypePadding
  
      s0_default = 3.0
      s0_padding_dict = {"x": 10.0, "y": -12.0}
      s0_padding = AttrNamePadding(s0_padding_dict, s0_default)
      s1_default = 0.1
      s1_padding_dict = {"y": 0.0, "p": 13.0}
      s1_padding = AttrNamePadding(s1_padding_dict, s1_default)
  
      s2_default = 7.5
      store_default = -11.0
      padding_dict = {
          stores[0]: s0_padding,
          stores[1]: s1_padding,
          stores[2]: s2_default,
      }
      padding = padding_cls(padding_dict, store_default)
  
      assert padding.get_value(stores[0], "x") == s0_padding_dict["x"]
      assert padding.get_value(stores[0], "y") == s0_padding_dict["y"]
      assert padding.get_value(stores[0], "p") == s0_default
      assert padding.get_value(stores[0], "z") == s0_default
  
      assert padding.get_value(stores[1], "x") == s1_default
      assert padding.get_value(stores[1], "y") == s1_padding_dict["y"]
      assert padding.get_value(stores[1], "p") == s1_padding_dict["p"]
      assert padding.get_value(stores[1], "z") == s1_default
  
      assert padding.get_value(stores[2], "x") == s2_default
      assert padding.get_value(stores[2], "z") == s2_default
  
      assert padding.get_value(stores[3], "x") == store_default
  
imports: import numbers
  from typing import Dict, Generator, List, Optional, Tuple, Union
  import pytest
  import torch
  from torch_geometric.data import Data, HeteroData
  from torch_geometric.datasets import FakeDataset, FakeHeteroDataset
  from torch_geometric.transforms import Pad
  from torch_geometric.transforms.pad import AttrNamePadding, EdgeTypePadding, NodeTypePadding, Padding, UniformPadding
  from torch_geometric.typing import EdgeType, NodeType
label_desc: Use image node_id 28 for calling a global function with example usage: test_node_edge_type_padding(store_type) without return types