code: def test_creates_saving_path(self, tmpdir, model_configs):
      tmpdir.mkdir("saving")
      dir_path = os.path.join(tmpdir, "saving")
      model = MADE(model_configs)
      model.save(dir_path=dir_path)
  
      dir_path = None
      model = MADE(model_configs)
      with pytest.raises(TypeError) or pytest.raises(FileNotFoundError):
          model.save(dir_path=dir_path)
  
file_path: benchmark_VAE/tests/test_MADE.py
imports: import os
  import numpy
  import pytest
  import torch
  from pythae.models import AutoModel
  from pythae.models.base.base_utils import ModelOutput
  from pythae.models.normalizing_flows import MADE, MADEConfig
label_desc: Use image node_id 1 for calling the Test_Model_Saving obj's underlying member method code with example usage: obj.test_creates_saving_path(tmpdir, model_configs) without return types