#NEWLINE# def test_code_frequency( self ) : #NEWLINE# #INDENT# 'Test the ability to retrieve the code frequency in a repo.' #NEWLINE# cassette_name = self . cassette_name ( 'code_frequency' ) #NEWLINE# with self . recorder . use_cassette ( cassette_name ) : #NEWLINE# #INDENT# repository = self . gh . repository ( 'sigmavirus24' , 'github3.py' ) #NEWLINE# assert ( self is not None ) #NEWLINE# for code_freq in repository . code_frequency ( ) : #NEWLINE# #INDENT# assert isinstance ( code_freq , list ) #NEWLINE# assert ( len ( code_freq ) > 0 )