8000 Fix unit test Pull_request.merge() · staticdev/github4.py@ce5c850 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.

Commit ce5c850

Browse files
committed
Fix unit test Pull_request.merge()
The backport of the change didn't include the unit test as it was not mergeable. This commit fixes the execution of the test with the new behaviour.
1 parent 90c6b7c commit ce5c850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pulls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def test_iter_files(self):
107107
def test_merge(self):
108108
self.response('merge', 200)
109109
self.put(self.api + '/merge')
110-
self.conf = {'data': None}
110+
self.conf = {'data': {'commit_message': ''}}
111111

112112
self.assertRaises(github3.GitHubError, self.pull.merge)
113113

0 commit comments

Comments
 (0)
0