code: def test_get_dipy_workflows():
      from dipy.workflows import align
  
      l_wkflw = get_dipy_workflows(align)
      for name, obj in l_wkflw:
          assert name.endswith("Flow")
          assert issubclass(obj, align.Workflow)
  
file_path: nipype/nipype/interfaces/dipy/tests/test_base.py
imports: import pytest
  from packaging.version import Version
  from collections import namedtuple
  from ...base import traits, File, TraitedSpec, BaseInterfaceInputSpec
  from ..base import convert_to_traits_type, create_interface_specs, dipy_to_nipype_interface, DipyBaseInterface, no_dipy, get_dipy_workflows, get_default_args, dipy_version
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_dipy_workflows() without return types