code: def test_truncable_steps_should_split_by_type():
      pipeline = Pipeline(
          [
              SomeStep(),
              SomeStep(),
              SomeSplitStep(),
              SomeStep(),
              SomeStep(),
              SomeSplitStep(),
              SomeStep(),
          ]
      )
  
      sub_pipelines = pipeline.split(SomeSplitStep)
  
      assert "SomeStep" in sub_pipelines[0]
      assert "SomeStep1" in sub_pipelines[0]
      assert "SomeSplitStep" in sub_pipelines[0]
      assert "SomeStep2" in sub_pipelines[1]
      assert "SomeStep3" in sub_pipelines[1]
      assert "SomeSplitStep1" in sub_pipelines[1]
      assert "SomeStep4" in sub_pipelines[2]
  
imports: from neuraxle.pipeline import Pipeline
  from neuraxle.steps.flow import TrainOnlyWrapper
  from testing_neuraxle.mocks.step_mocks import SomeSplitStep, SomeStep, SomeTruncableStep
label_desc: Use image node_id 1 for calling a global function with example usage: test_truncable_steps_should_split_by_type() without return types