Skip to content

Commit

Permalink
Fix merge conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineC committed Mar 28, 2024
1 parent 0837e49 commit 2c1ebc1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
10 changes: 7 additions & 3 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ def __init__(
hide_time_to_first_response: bool,
ignore_user: List[str],
labels_to_measure: List[str],
enable_mentor_count: str,
min_mentor_comments: str,
max_comments_eval: str,
heavily_involved_cutoff: str ,
search_query: str,
):
self.gh_app_id = gh_app_id
Expand Down Expand Up @@ -196,9 +200,9 @@ def get_env_vars(test: bool = False) -> EnvVars:
hide_time_to_first_response,
ignore_users_list,
labels_to_measure_list,
search_query,
enable_mentor_count,
min_mentor_comments
min_mentor_comments,
max_comments_eval,
heavily_involved_cutoff
heavily_involved_cutoff,
search_query,
)
12 changes: 12 additions & 0 deletions test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ def test_get_env_vars_with_github_app(self):
False,
[],
[],
"FALSE",
"10",
"20",
"3",
SEARCH_QUERY,
)
result = get_env_vars(True)
Expand Down Expand Up @@ -157,6 +161,10 @@ def test_get_env_vars_with_token(self):
False,
[],
[],
"FALSE",
"10",
"20",
"3",
SEARCH_QUERY,
)
result = get_env_vars(True)
Expand Down Expand Up @@ -195,6 +203,10 @@ def test_get_env_vars_optional_values(self):
True,
[],
["waiting-for-review", "waiting-for-manager"],
"FALSE",
10,
20,
3,
SEARCH_QUERY,
)
result = get_env_vars(True)
Expand Down
2 changes: 1 addition & 1 deletion test_issue_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_get_env_vars_missing_query(self):

# Call the function and check that it raises a ValueError
with self.assertRaises(ValueError):
get_env_vars()
get_env_vars(test=True)


class TestMain(unittest.TestCase):
Expand Down

0 comments on commit 2c1ebc1

Please sign in to comment.