Skip to content

Commit

Permalink
fix: Typo in a help message in the CLI output
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 committed Mar 18, 2020
1 parent 453fa84 commit a4b15c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Changelog
`Unreleased`_
-------------

Fixed
~~~~~

- Typo in a help message in the CLI output. `#436`_

`0.25.1`_ - 2020-03-09
----------------------

Expand Down Expand Up @@ -748,6 +753,7 @@ Fixed
.. _0.3.0: https://github.com/kiwicom/schemathesis/compare/v0.2.0...v0.3.0
.. _0.2.0: https://github.com/kiwicom/schemathesis/compare/v0.1.0...v0.2.0

.. _#436: https://github.com/kiwicom/schemathesis/issues/436
.. _#433: https://github.com/kiwicom/schemathesis/issues/433
.. _#429: https://github.com/kiwicom/schemathesis/issues/429
.. _#424: https://github.com/kiwicom/schemathesis/issues/424
Expand Down
2 changes: 1 addition & 1 deletion src/schemathesis/cli/output/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def display_errors(context: events.ExecutionContext, results: TestResultSet) ->
display_single_error(context, result)
if not context.show_errors_tracebacks:
click.secho(
"Add this option to your command line parameters to see full tracebacks: --show-error-tracebacks", fg="red"
"Add this option to your command line parameters to see full tracebacks: --show-errors-tracebacks", fg="red"
)


Expand Down
2 changes: 1 addition & 1 deletion test/cli/output/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def test_display_errors(swagger_20, capsys, results_set, execution_context, show
# Then section title is displayed
assert " ERRORS " in out
help_message_exists = (
"Add this option to your command line parameters to " "see full tracebacks: --show-error-tracebacks" in out
"Add this option to your command line parameters to see full tracebacks: --show-errors-tracebacks" in out
)
# And help message is displayed only if tracebacks are not shown
assert help_message_exists is not show_errors_tracebacks
Expand Down

0 comments on commit a4b15c8

Please sign in to comment.