#NEWLINE# def test_git_commit( self ) : #NEWLINE# #INDENT# 'Test the ability to retrieve a commit from a repository.' #NEWLINE# cassette_name = self . cassette_name ( 'git_commit' ) #NEWLINE# with self . recorder . use_cassette ( cassette_name ) : #NEWLINE# #INDENT# repository = self . gh . repository ( 'sigmavirus24' , 'github3.py' ) #NEWLINE# commit = repository . git_commit ( '9ea7482560c9e70c66019f7981aa1727caf888e0' ) #NEWLINE# #UNINDENT# assert isinstance ( commit , github3 . git . Commit )