class_docstr: Tests for getting featurizer, transformer, and splitter classes.
docstr: Test getting defaults for MolNet loaders.
docstr_tok: ["Test","getting","defaults","for","MolNet","loaders","."]
code: def test_defaults(self):
      """Test getting defaults for MolNet loaders."""
      feats = get_defaults("feat")
      trans = get_defaults("trans")
      splits = get_defaults("splits")
  
      fkey = next(iter(feats))
      assert isinstance(fkey, str)
      assert issubclass(feats[fkey], Featurizer)
  
      tkey = next(iter(trans))
      assert isinstance(tkey, str)
      assert issubclass(trans[tkey], Transformer)
  
      skey = next(iter(splits))
      assert isinstance(skey, str)
      assert issubclass(splits[skey], Splitter)
  
file_path: deepchem/deepchem/molnet/tests/test_defaults.py
imports: import unittest
  from deepchem.feat.base_classes import Featurizer
  from deepchem.trans.transformers import Transformer
  from deepchem.splits.splitters import Splitter
  from deepchem.molnet.defaults import get_defaults
label_desc: Use image node_id 1 for calling the TestDefaults obj's underlying member method code with example usage: obj.test_defaults() without return types