'Test the ability to use the code search endpoint'

def test_search_code(self):

    cassette_name = self.cassette_name('search_code', cls='GitHub')
    with self.recorder.use_cassette(cassette_name):
        repos = self.gh.search_code('HTTPAdapter    in:file    language:python    repo:kennethreitz/requests')
        assert isinstance(next(repos), github3.search.CodeSearchResult)
