@with_setup(prepare_stdout)
def test_output_with_successful_outline_colorless():
 runner = Runner(feature_name('success_outline'), verbosity=3, no_color=True)
 runner.run()
 assert_stdout_lines(u'\nFeature: Successful Scenario Outline                          # tests/functional/output_features/success_outline/success_outline.feature:1\n  As lettuce author                                           # tests/functional/output_features/success_outline/success_outline.feature:2\n  In order to finish the first release                        # tests/functional/output_features/success_outline/success_outline.feature:3\n  I want to make scenario outlines work \u2665                     # tests/functional/output_features/success_outline/success_outline.feature:4\n\n  Scenario Outline: fill a web form                           # tests/functional/output_features/success_outline/success_outline.feature:6\n    Given I open browser at "http://www.my-website.com/"      # tests/functional/output_features/success_outline/success_outline_steps.py:21\n    And click on "sign-up"                                    # tests/functional/output_features/success_outline/success_outline_steps.py:25\n    When I fill the field "username" with "<username>"        # tests/functional/output_features/success_outline/success_outline_steps.py:29\n    And I fill the field "password" with "<password>"         # tests/functional/output_features/success_outline/success_outline_steps.py:29\n    And I fill the field "password-confirm" with "<password>" # tests/functional/output_features/success_outline/success_outline_steps.py:29\n    And I fill the field "email" with "<email>"               # tests/functional/output_features/success_outline/success_outline_steps.py:29\n    And I click "done"                                        # tests/functional/output_features/success_outline/success_outline_steps.py:33\n    Then I see the title of the page is "<title>"             # tests/functional/output_features/success_outline/success_outline_steps.py:37\n\n  Examples:\n    | username | password | email          | title             |\n    | john     | doe-1234 | john@gmail.org | John \\| My Website |\n    | mary     | wee-9876 | mary@email.com | Mary \\| My Website |\n    | foo      | foo-bar  | foo@bar.com    | Foo \\| My Website  |\n\n1 feature (1 passed)\n3 scenarios (3 passed)\n24 steps (24 passed)\n')

@ with_setup ( prepare_stdout ) def test_output_with_successful_outline_colorless ( ) : runner = Runner ( feature_name ( 'success_outline' ) , verbosity = 3 , no_color = True ) runner . run ( ) assert_stdout_lines ( u'\nFeature: Successful Scenario Outline                          # tests/functional/output_features/success_outline/success_outline.feature:1\n  As lettuce author                                           # tests/functional/output_features/success_outline/success_outline.feature:2\n  In order to finish the first release                        # tests/functional/output_features/success_outline/success_outline.feature:3\n  I want to make scenario outlines work \u2665                     # tests/functional/output_features/success_outline/success_outline.feature:4\n\n  Scenario Outline: fill a web form                           # tests/functional/output_features/success_outline/success_outline.feature:6\n    Given I open browser at "http://www.my-website.com/"      # tests/functional/output_features/success_outline/success_outline_steps.py:21\n    And click on "sign-up"                                    # tests/functional/output_features/success_outline/success_outline_steps.py:25\n    When I fill the field "username" with "<username>"        # tests/functional/output_features/success_outline/success_outline_steps.py:29\n    And I fill the field "password" with "<password>"         # tests/functional/output_features/success_outline/success_outline_steps.py:29\n    And I fill the field "password-confirm" with "<password>" # tests/functional/output_features/success_outline/success_outline_steps.py:29\n    And I fill the field "email" with "<email>"               # tests/functional/output_features/success_outline/success_outline_steps.py:29\n    And I click "done"                                        # tests/functional/output_features/success_outline/success_outline_steps.py:33\n    Then I see the title of the page is "<title>"             # tests/functional/output_features/success_outline/success_outline_steps.py:37\n\n  Examples:\n    | username | password | email          | title             |\n    | john     | doe-1234 | john@gmail.org | John \\| My Website |\n    | mary     | wee-9876 | mary@email.com | Mary \\| My Website |\n    | foo      | foo-bar  | foo@bar.com    | Foo \\| My Website  |\n\n1 feature (1 passed)\n3 scenarios (3 passed)\n24 steps (24 passed)\n' )
with colorless output .