'Test the ability to retrieve the weekly commit count on a
repository.'

def test_weekly_commit_count(self):

    cassette_name = self.cassette_name('weekly_commit_count')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        weekly_commit_count = repository.weekly_commit_count()
    assert isinstance(weekly_commit_count, dict)
    assert (len(weekly_commit_count.get('owner')) == 52)
    assert (len(weekly_commit_count.get('all')) == 52)
