code: def test_output_created():
      views = ["axial", "sagital", "coronal"]
  
      colors = [
          [0.91, 0.26, 0.35],
          [0.99, 0.50, 0.38],
          [0.99, 0.88, 0.57],
          [0.69, 0.85, 0.64],
          [0.51, 0.51, 0.63],
      ]
  
      with tempfile.TemporaryDirectory() as temp_dir:
          for view in views:
              fname = os.path.join(temp_dir, f"test_{view}.png")
              show_bundles(bundles, False, view=view, save_as=fname)
              assert_equal(os.path.exists(fname), True)
  
          fname = os.path.join(temp_dir, "test_colors.png")
          show_bundles(bundles, False, colors=colors, save_as=fname)
          assert_equal(os.path.exists(fname), True)
  
          # Check rendered image is not empty
          report = window.analyze_snapshot(fname, find_objects=True)
          assert_equal(report.objects > 0, True)
  
          cb1, cb2 = two_cingulum_bundles()
  
          fname = os.path.join(temp_dir, "test_two_bundles.png")
          viz_two_bundles(cb1, cb2, fname=fname)
          assert_equal(os.path.exists(fname), True)
  
file_path: dipy/dipy/viz/tests/test_streamline.py
imports: import tempfile
  import os
  from numpy.testing import assert_raises, assert_equal
  import pytest
  from dipy.align.streamwarp import bundlewarp, bundlewarp_vector_filed
  from dipy.data import read_five_af_bundles, two_cingulum_bundles
  from dipy.tracking.streamline import set_number_of_points, unlist_streamlines, Streamlines
  from dipy.utils.optpkg import optional_package
label_desc: Use image node_id 1 for calling a global function with example usage: test_output_created() without return types