'Test the ability to iterate over issue events.'

def test_events(self):

    self.token_login()
    cassette_name = self.cassette_name('events')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        issue = repository.issue(218)
        for event in issue.events():
            assert isinstance(event, github3.issues.event.IssueEvent)
            assert isinstance(event.actor, github3.users.ShortUser)
