Skip to content

Commit

Permalink
fixed formatting by black (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cielquan authored Aug 17, 2020
1 parent cb4bf5b commit 35958c0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_check_jira_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ def test_missing_jira_section(mock_home, cli_runner):
mock_ini = mock_home / ".jira.ini"
mock_ini.write_text("")

result = cli_runner.invoke(main, ["--jira-tag=TAG", "--verify", "--jira-url=URL", "NO_FILE"])
result = cli_runner.invoke(
main, ["--jira-tag=TAG", "--verify", "--jira-url=URL", "NO_FILE"]
)
assert result.exit_code == 1
assert "No 'jira' section" in result.output

Expand All @@ -81,7 +83,9 @@ def test_missing_conf_key(mock_home, cli_runner):
mock_ini = mock_home / ".jira.ini"
mock_ini.write_text("[jira]\nJIRA_USERNAME=USERNAME\n")

result = cli_runner.invoke(main, ["--jira-tag=TAG", "--verify", "--jira-url=URL", "NO_FILE"])
result = cli_runner.invoke(
main, ["--jira-tag=TAG", "--verify", "--jira-url=URL", "NO_FILE"]
)

assert result.exit_code == 1
assert "Missing 'JIRA_TOKEN'" in result.output
Expand Down

0 comments on commit 35958c0

Please sign in to comment.