old_contents: import github3
  
  from .helper import IntegrationHelper
  
  
  class TestAPI(IntegrationHelper):
      def get_client(self):
          return github3.gh
  
      def test_search_code(self):
          """Test the ability to use the code search endpoint"""
          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)
  
      def test_search_repositories(self):
          """Test the ability to use the repository search endpoint"""
          cassette_name = self.cassette_name('search_repositories',
                                             cls='GitHub')
          with self.recorder.use_cassette(cassette_name):
              repos = self.gh.search_repositories('github3 language:python')
              assert isinstance(next(repos),
                                github3.search.RepositorySearchResult)
  
new_contents: import github3
  
  from .helper import IntegrationHelper
  
  
  class TestAPI(IntegrationHelper):
      def get_client(self):
          return github3.gh
  
      def test_search_code(self):
          """Test the ability to use the code search endpoint"""
          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)
  
      def test_search_issues(self):
          """Test the ability to use the issues search endpoint"""
          cassette_name = self.cassette_name('search_issues',
                                             cls='GitHub')
          with self.recorder.use_cassette(cassette_name):
              repos = self.gh.search_issues('github3 labels:bugs')
              assert isinstance(next(repos),
                                github3.search.IssueSearchResult)
  
      def test_search_repositories(self):
          """Test the ability to use the repository search endpoint"""
          cassette_name = self.cassette_name('search_repositories',
                                             cls='GitHub')
          with self.recorder.use_cassette(cassette_name):
              repos = self.gh.search_repositories('github3 language:python')
              assert isinstance(next(repos),
                                github3.search.RepositorySearchResult)
  
subject: Add test for github3.search_issues