mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 23:04:18 +00:00
fix test name after exit -> exit_code refactor
This commit is contained in:
parent
5e2e50325d
commit
97c3de41bd
1 changed files with 2 additions and 2 deletions
|
|
@ -35,10 +35,10 @@ def application():
|
||||||
(2, True, True, 1),
|
(2, True, True, 1),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
def test_exit_does_raise(
|
def test_application_exit_code(
|
||||||
result_count, catastrophic, exit_zero, value, application
|
result_count, catastrophic, exit_zero, value, application
|
||||||
):
|
):
|
||||||
"""Verify Application.exit doesn't raise SystemExit."""
|
"""Verify Application.exit_code returns the correct value."""
|
||||||
application.result_count = result_count
|
application.result_count = result_count
|
||||||
application.catastrophic_failure = catastrophic
|
application.catastrophic_failure = catastrophic
|
||||||
application.options = options(exit_zero=exit_zero)
|
application.options = options(exit_zero=exit_zero)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue