Skip to content

Commit 007f2c2

Browse files
author
Jacob Mages-Haskins
committed
AIML-77 Fix test setup
1 parent b74a174 commit 007f2c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_git_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ def test_get_pr_changed_files_count_exception(self, mock_debug_log, mock_get_gh_
648648
@patch('src.git_handler.run_command')
649649
@patch('src.git_handler.get_gh_env')
650650
@patch('src.git_handler.debug_log')
651+
@patch.dict('os.environ', {'GITHUB_REPOSITORY': 'mock/repo-for-testing'})
651652
def test_check_issues_enabled_success(self, mock_debug_log, mock_get_gh_env, mock_run_command):
652653
"""Test check_issues_enabled when Issues are enabled"""
653654
from src.config import get_config, reset_config

0 commit comments

Comments
 (0)