code: def step_command_output_should_not_contain_text(context, text):
      '''
      EXAMPLE:
          ...
          then the command output should not contain "TEXT"
      '''
      expected_text = text
      if "{__WORKDIR__}" in text or "{__CWD__}" in text:
          expected_text = textutil.template_substitute(text,
               __WORKDIR__ = posixpath_normpath(context.workdir),
               __CWD__     = posixpath_normpath(os.getcwd())
          )
      actual_output  = context.command_result.output
      with on_assert_failed_print_details(actual_output, expected_text):
          textutil.assert_normtext_should_not_contain(actual_output, expected_textf step_command_output_should_not_contain_text(context, text):
      '''
      EXAMPLE:
          ...
          then the command output should not contain "TEXT"
      '''
      expected_text = text
      if "{__WORKDIR__}" in text or "{__CWD__}" in text:
          expected_text = textutil.template_substitute(text,
               __WORKDIR__ = posixpath_normpath(context.workdir),
               __CWD__     = posixpath_normpath(os.getcwd())
          )
      actual_output  = context.command_result.output
      with on_assert_failed_print_details(actual_output, expected_text):
          textutil.assert_normtext_should_not_contain(actual_output, expected_text)
docs: EXAMPLE:
          ...
          then the command output should not contain "TEXT"