Skip to content

Commit

Permalink
Fix isort test
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Apr 24, 2022
1 parent 57dddf2 commit e90250e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/darker/tests/test_command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,10 @@ def test_help_with_isort_package(capsys):
"""``darker --help`` omits ``isort`` installation instructions if it is installed"""
with isort_present(True):

assert "Please run" not in get_darker_help_output(capsys)
assert (
"Please run `pip install darker[isort]` to enable "
not in get_darker_help_output(capsys)
)


@pytest.mark.kwparametrize(
Expand Down

0 comments on commit e90250e

Please sign in to comment.