@with_setup(prepare_stdout)
def test_output_with_success_colorless2():
 runner = Runner(join(abspath(dirname(__file__)), 'output_features', 'runner_features'), verbosity=3, no_color=True)
 runner.run()
 assert_stdout_lines('\nFeature: Dumb feature                    # tests/functional/output_features/runner_features/first.feature:1\n  In order to test success               # tests/functional/output_features/runner_features/first.feature:2\n  As a programmer                        # tests/functional/output_features/runner_features/first.feature:3\n  I want to see that the output is green # tests/functional/output_features/runner_features/first.feature:4\n\n  Scenario: Do nothing                   # tests/functional/output_features/runner_features/first.feature:6\n    Given I do nothing                   # tests/functional/output_features/runner_features/dumb_steps.py:6\n\n1 feature (1 passed)\n1 scenario (1 passed)\n1 step (1 passed)\n')

@ with_setup ( prepare_stdout ) def test_output_with_success_colorless2 ( ) : runner = Runner ( join ( abspath ( dirname ( __file__ ) ) , 'output_features' , 'runner_features' ) , verbosity = 3 , no_color = True ) runner . run ( ) assert_stdout_lines ( '\nFeature: Dumb feature                    # tests/functional/output_features/runner_features/first.feature:1\n  In order to test success               # tests/functional/output_features/runner_features/first.feature:2\n  As a programmer                        # tests/functional/output_features/runner_features/first.feature:3\n  I want to see that the output is green # tests/functional/output_features/runner_features/first.feature:4\n\n  Scenario: Do nothing                   # tests/functional/output_features/runner_features/first.feature:6\n    Given I do nothing                   # tests/functional/output_features/runner_features/dumb_steps.py:6\n\n1 feature (1 passed)\n1 scenario (1 passed)\n1 step (1 passed)\n' )
testing the colorless output of a successful feature .