Skip to content

Commit 2dfca50

Browse files
committed
Fix test
1 parent 830a5af commit 2dfca50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pygithub3/tests/services/test_issues.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ def test_REMOVE_from_issue(self, request_method):
178178
('delete', _('repos/octocat/Hello-World/issues/1/labels/bug')))
179179

180180
def test_REPLACE_all(self, request_method):
181+
request_method.return_value = mock_response()
181182
self.lb.replace_all(1, ['bug', 'critical'])
182183
self.assertEqual(request_method.call_args[0],
183184
('put', _('repos/octocat/Hello-World/issues/1/labels')))

0 commit comments

Comments
 (0)