@with_setup(prepare_stdout)
def test_output_with_success_colorless_with_table():
 runner = Runner(feature_name('success_table'), verbosity=3, no_color=True)
 runner.run()
 assert_stdout_lines('\nFeature: Table Success           # tests/functional/output_features/success_table/success_table.feature:1\n\n  Scenario: Add two numbers \xe2\x99\xa5    # tests/functional/output_features/success_table/success_table.feature:2\n    Given I have 0 bucks         # tests/functional/output_features/success_table/success_table_steps.py:28\n    And that I have these items: # tests/functional/output_features/success_table/success_table_steps.py:32\n      | name    | price  |\n      | Porsche | 200000 |\n      | Ferrari | 400000 |\n    When I sell the "Ferrari"    # tests/functional/output_features/success_table/success_table_steps.py:42\n    Then I have 400000 bucks     # tests/functional/output_features/success_table/success_table_steps.py:28\n    And my garage contains:      # tests/functional/output_features/success_table/success_table_steps.py:47\n      | name    | price  |\n      | Porsche | 200000 |\n\n1 feature (1 passed)\n1 scenario (1 passed)\n5 steps (5 passed)\n')

@ with_setup ( prepare_stdout ) def test_output_with_success_colorless_with_table ( ) : runner = Runner ( feature_name ( 'success_table' ) , verbosity = 3 , no_color = True ) runner . run ( ) assert_stdout_lines ( '\nFeature: Table Success           # tests/functional/output_features/success_table/success_table.feature:1\n\n  Scenario: Add two numbers \xe2\x99\xa5    # tests/functional/output_features/success_table/success_table.feature:2\n    Given I have 0 bucks         # tests/functional/output_features/success_table/success_table_steps.py:28\n    And that I have these items: # tests/functional/output_features/success_table/success_table_steps.py:32\n      | name    | price  |\n      | Porsche | 200000 |\n      | Ferrari | 400000 |\n    When I sell the "Ferrari"    # tests/functional/output_features/success_table/success_table_steps.py:42\n    Then I have 400000 bucks     # tests/functional/output_features/success_table/success_table_steps.py:28\n    And my garage contains:      # tests/functional/output_features/success_table/success_table_steps.py:47\n      | name    | price  |\n      | Porsche | 200000 |\n\n1 feature (1 passed)\n1 scenario (1 passed)\n5 steps (5 passed)\n' )
testing the colorless output of success with table .