'Verify the request for creating a pull request from an issue.'

def test_create_pull_from_issue(self):

    with helper.mock.patch.object(Repository, '_create_pull') as pull:
        data = {'issue': 1, 'base': 'master', 'head': 'feature_branch'}
        self.instance.create_pull_from_issue(**data)
        pull.assert_called_once_with(data)
