def test_import_issue(self):
        self.token_login()
        cassette_name = self.cassette_name('import_issue')
        with self.recorder.use_cassette(cassette_name):
            issue = {
                'title': 'foo',
                'body': 'bar',
                'created_at': '2014-03-16T17:15:42Z'
            }
            repository = self.gh.repository('github3py', 'test_rename1')
            imported_issue = repository.import_issue(**issue)

        isinstance(imported_issue, github3.repos.issue_import.ImportedIssue)
Test the ability to import an issue.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_import_issue