Skip to content

Commit

Permalink
fix test assertion of new test
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Riedel committed Jul 12, 2022
1 parent 1dadc08 commit 4b024ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_add_jira_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ class MockBranch: # pylint: disable=too-few-public-methods, missing-class-docst
mock_commit_msg_file.write_text("commit message 0815\n#TEST-123")
result = cli_runner.invoke(main, ["--jira-tag=TEST", str(mock_commit_msg_file)])
assert result.exit_code == 0
assert mock_commit_msg_file.read_text() == "TEST-123: commit message 0815\nTEST-123"
assert mock_commit_msg_file.read_text() == "TEST-123: commit message 0815\n#TEST-123"

0 comments on commit 4b024ef

Please sign in to comment.