#NEWLINE# def test_compare_commits( self ) : #NEWLINE# #INDENT# 'Test the ability to compare two commits.' #NEWLINE# cassette_name = self . cassette_name ( 'compare_commits' ) #NEWLINE# with self . recorder . use_cassette ( cassette_name ) : #NEWLINE# #INDENT# repository = self . gh . repository ( 'sigmavirus24' , 'github3.py' ) #NEWLINE# base = 'a811e1a270f65eecb65755eca38d888cbefcb0a7' #NEWLINE# head = '76dcc6cb4b9860034be81b7e58adc286a115aa97' #NEWLINE# comparison = repository . compare_commits ( base , head ) #NEWLINE# assert isinstance ( comparison , github3 . repos . comparison . Comparison )