code: def test_assertion_step_logs_and_raises_with_pipeline(self):
      data_inputs = np.array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
      expected_outputs = data_inputs * 2
      dact = DACT(data_inputs, None, expected_outputs)
      p = Pipeline([SomeAssertionStep()])
  
      with self.assertLogs() as captured:
          with pytest.raises(AssertionError):
              p.handle_fit_transform(dact, context=CX())
  
          self.assertIn("Assertion failed", captured.output[0])
  
file_path: Neuraxle/testing_neuraxle/steps/test_assertion_steps.py
imports: from unittest import TestCase
  import numpy
  import pytest
  from neuraxle.base import AssertExpectedOutputIsNone, BaseStep
  from neuraxle.base import ExecutionContext
  from neuraxle.base import ExecutionPhase, HandleOnlyMixin, NonFittableMixin
  from neuraxle.data_container import DataContainer
  from neuraxle.pipeline import Pipeline
label_desc: Use image node_id 1 for calling the TestAssertionMethodInSteps obj's underlying member method code with example usage: obj.test_assertion_step_logs_and_raises_with_pipeline() without return types