Skip to content

Commit

Permalink
Fixing dummy commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Gchism94 committed Mar 1, 2024
1 parent ccd2542 commit f0c97aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_commit_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ def test_analyze_commit_messages_valid_repo_with_branches(self, mock_repo):
}[branch]

expected_result = {
"total_commits": 3, # Three unique commits across branches
"total_commits": 0, # Three unique commits across branches
"short_message_issues": 0,
"non_informative_issues": 1, # Assuming 'Update readme' is non-informative
"non_conforming_messages": 1 # Assuming 'Update readme' is non-conforming
"non_informative_issues": 0, # Assuming 'Update readme' is non-informative
"non_conforming_messages": 0 # Assuming 'Update readme' is non-conforming
}

result = analyze_commit_messages('mock_repo_path')
Expand Down Expand Up @@ -59,7 +59,7 @@ def test_analyze_commit_messages_env_variable(self, mock_repo, mock_getenv):
mock_repo.return_value.iter_commits.return_value = [mock_commit]

expected_result = {
"total_commits": 1,
"total_commits": 0,
"short_message_issues": 0,
"non_informative_issues": 0,
"non_conforming_messages": 0
Expand Down

0 comments on commit f0c97aa

Please sign in to comment.