def test_create_issue(self):
        self.token_login()
        cassette_name = self.cassette_name('create_issue')
        with self.recorder.use_cassette(cassette_name):
            repository = self.gh.repository('sigmavirus24', 'github3.py')
            data = {
                'title': 'Create Issue Integration Test',
                'body': 'Delete me after',
                'assignee': 'itsmemattchung'
            }
            issue = repository.create_issue(**data)
            assert isinstance(issue, github3.issues.issue.Issue)
Test the ability to create an issue for a repository.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_create_issue