'Test the ability to create an issue for a repository.'

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)
