code: def test_suggest_save_args_happy_path(capsys, minimodel):
      path = "./tests/fixtures/minigraph.pb"
  
      with tf.Graph().as_default() as graph, tf.Session() as sess:
          _ = minimodel()
          sess.run(tf.global_variables_initializer())
  
          # ask for suggested arguments
          inferred = Model.suggest_save_args()
          # they should be both printed...
          captured = capsys.readouterr().out  # captures stdout
          names = ["input_name", "image_shape", "output_names"]
          assert all(name in captured for name in names)
          # ...and returned
  
          # check that these inferred values work
          inferred.update(image_value_range=(0, 1))
          Model.save(path, **inferred)
          loaded_model = Model.load(path)
          assert "0.100" in repr(loaded_model.graph_def)
  
imports: import pytest
  import tensorflow
  from lucid.modelzoo.vision_base import Model
  from lucid.modelzoo.vision_models import AlexNet, InceptionV1, InceptionV3_slim, ResnetV1_50_slim
label_desc: Use image node_id 1 for calling a global function with example usage: test_suggest_save_args_happy_path(capsys, minimodel) without return types