@@ -30,7 +30,7 @@ def test_get_contributors(self, mock_contributor_stats):
3030 mock_repo .contributors .return_value = [mock_user ]
3131 mock_repo .full_name = "owner/repo"
3232
33- get_contributors (mock_repo , "2022-01-01" , "2022-12-31" , "" )
33+ get_contributors (mock_repo , "2022-01-01" , "2022-12-31" , "" , False )
3434
3535 mock_contributor_stats .assert_called_once_with (
3636 "user" ,
@@ -64,7 +64,7 @@ def test_get_all_contributors_with_organization(self, mock_get_contributors):
6464 ghe = ""
6565
6666 result = get_all_contributors (
67- "org" , "" , "2022-01-01" , "2022-12-31" , mock_github_connection , ghe
67+ "org" , "" , "2022-01-01" , "2022-12-31" , mock_github_connection , ghe , False
6868 )
6969
7070 self .assertEqual (
@@ -107,7 +107,13 @@ def test_get_all_contributors_with_repository(self, mock_get_contributors):
107107 ghe = ""
108108
109109 result = get_all_contributors (
110- "" , ["owner/repo" ], "2022-01-01" , "2022-12-31" , mock_github_connection , ghe
110+ "" ,
111+ ["owner/repo" ],
112+ "2022-01-01" ,
113+ "2022-12-31" ,
114+ mock_github_connection ,
115+ ghe ,
116+ False ,
111117 )
112118
113119 self .assertEqual (
@@ -147,7 +153,7 @@ def test_get_contributors_skip_users_with_no_commits(self, mock_contributor_stat
147153 mock_repo .get_commits .side_effect = StopIteration
148154 ghe = ""
149155
150- get_contributors (mock_repo , "2022-01-01" , "2022-12-31" , ghe )
156+ get_contributors (mock_repo , "2022-01-01" , "2022-12-31" , ghe , False )
151157
152158 # Note that only user is returned and user2 is not returned here because there were no commits in the date range
153159 mock_contributor_stats .assert_called_once_with (
@@ -175,7 +181,7 @@ def test_get_contributors_skip_bot(self, mock_contributor_stats):
175181 mock_repo .get_commits .side_effect = StopIteration
176182 ghe = ""
177183
178- get_contributors (mock_repo , "2022-01-01" , "2022-12-31" , ghe )
184+ get_contributors (mock_repo , "2022-01-01" , "2022-12-31" , ghe , False )
179185
180186 # Note that only user is returned and user2 is not returned here because there were no commits in the date range
181187 mock_contributor_stats .isEmpty ()
@@ -196,7 +202,7 @@ def test_get_contributors_no_commit_end_date(self, mock_contributor_stats):
196202 mock_repo .get_commits .side_effect = StopIteration
197203 ghe = ""
198204
199- get_contributors (mock_repo , "2022-01-01" , "" , ghe )
205+ get_contributors (mock_repo , "2022-01-01" , "" , ghe , False )
200206
201207 # Note that only user is returned and user2 is not returned here because there were no commits in the date range
202208 mock_contributor_stats .assert_called_once_with (
0 commit comments