Exemplo n.º 1
0
def test_process_commit(commit_message, expected_message, config):
    conventional_commits = ConventionalCommitsCz(config)
    message = conventional_commits.process_commit(commit_message)
    assert message == expected_message
Exemplo n.º 2
0
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"