'Test the ability to retrieve the code frequency in a repo.'

def test_code_frequency(self):

    cassette_name = self.cassette_name('code_frequency')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        for code_freq in repository.code_frequency():
            assert isinstance(code_freq, list)
            assert (len(code_freq) > 0)
