Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Commit 106d01b

Browse files
Merge pull request #431 from ehuss/triagebot-rust
Migrate rust-lang/rust to triagebot
2 parents 30cadbd + e2bfb82 commit 106d01b

File tree

2 files changed

+5
-153
lines changed

2 files changed

+5
-153
lines changed

highfive/configs/rust-lang/rust.json

Lines changed: 0 additions & 153 deletions
This file was deleted.

highfive/tests/test_integration_tests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,16 @@ class TestNewComment(object):
253253
def make_mocks(cls, patcherize):
254254
cls.mocks = patcherize((
255255
('ConfigParser', 'highfive.newpr.ConfigParser'),
256+
('load_json_file', 'highfive.newpr.HighfiveHandler._load_json_file'),
256257
))
257258

258259
config_mock = mock.Mock()
259260
config_mock.get.side_effect = ('integration-user', 'integration-token')
260261
cls.mocks['ConfigParser'].RawConfigParser.return_value = config_mock
262+
cls.mocks['load_json_file'].side_effect = (
263+
fakes.get_repo_configs()['individuals_no_dirs'],
264+
fakes.get_global_configs()['base'],
265+
)
261266

262267
def test_author_is_commenter(self):
263268
payload = fakes.Payload.new_comment()

0 commit comments

Comments
 (0)