def test_directory_contents(self):
        cassette_name = self.cassette_name('directory_contents')
        with self.recorder.use_cassette(cassette_name):
            repository = self.gh.repository('sigmavirus24', 'github3.py')
            contents = repository.directory_contents('github3/search/')

        for (filename, content) in contents:
            assert content.name == filename
            assert isinstance(content, github3.repos.contents.Contents)
            assert content.content is None
            assert content.decoded is None
Test that a directory's contents can be retrieved.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_directory_contents