#NEWLINE# def test_weekly_commit_count( self ) : #NEWLINE# #INDENT# '\n        Test the ability to retrieve the weekly commit count on a\n        repository.\n        ' #NEWLINE# cassette_name = self . cassette_name ( 'weekly_commit_count' ) #NEWLINE# with self . recorder . use_cassette ( cassette_name ) : #NEWLINE# #INDENT# repository = self . gh . repository ( 'sigmavirus24' , 'github3.py' ) #NEWLINE# weekly_commit_count = repository . weekly_commit_count ( ) #NEWLINE# #UNINDENT# assert isinstance ( weekly_commit_count , dict ) #NEWLINE# assert ( len ( weekly_commit_count . get ( 'owner' ) ) == 52 ) #NEWLINE# assert ( len ( weekly_commit_count . get ( 'all' ) ) == 52 )