'Test the ability to retrieve commits on a repository.'

def test_commits(self):

    cassette_name = self.cassette_name('commits')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        for commit in repository.commits(number=25):
            assert isinstance(commit, github3.repos.commit.RepoCommit)
