def test_process_commit(commit_message, expected_message, config): conventional_commits = ConventionalCommitsCz(config) message = conventional_commits.process_commit(commit_message) assert message == expected_message
def test_process_commit(config): conventional_commits = ConventionalCommitsCz(config) message = conventional_commits.process_commit( "test(test_scope): this is test msg") assert message == "this is test msg"