'Test the ability to compare two commits.'

def test_compare_commits(self):

    cassette_name = self.cassette_name('compare_commits')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        base = 'a811e1a270f65eecb65755eca38d888cbefcb0a7'
        head = '76dcc6cb4b9860034be81b7e58adc286a115aa97'
        comparison = repository.compare_commits(base, head)
        assert isinstance(comparison, github3.repos.comparison.Comparison)
