'Test the ability to edit an issue.'

def test_edit(self):

    self.token_login()
    cassette_name = self.cassette_name('edit')
    with self.recorder.use_cassette(cassette_name):
        issue = self.gh.issue(username='sigmavirus24', repository='github3.py', number=509)
        edited = issue.edit(title='Integration    test    for    editing    an    issue')
    assert (edited is True)
