We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4c9a1e commit 6493ff3Copy full SHA for 6493ff3
tests/commands/test_commit_command.py
@@ -69,6 +69,8 @@ def test_commit_allow_empty(config, mocker):
69
success_mock = mocker.patch("commitizen.out.success")
70
71
commands.Commit(config, {"allow_empty": True})()
72
+
73
+ commit_mock.assert_called_with('feat: user created\n\ncloses #21', "--allow-empty")
74
success_mock.assert_called_once()
75
76
0 commit comments