'Test the ability to perform a merge on a repository.'

def test_merge(self):

    self.token_login()
    cassette_name = self.cassette_name('merge')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('itsmemattchung', 'github3.py')
        commit = repository.merge('base_branch', 'head_branch')
    assert isinstance(commit, github3.repos.commit.RepoCommit)
