'Test the ability to lock an issue.'

def test_lock(self):

    self.token_login()
    cassette_name = self.cassette_name('lock')
    with self.recorder.use_cassette(cassette_name):
        issue = self.gh.issue(username='adrianmoisey', repository='temptest', number=1)
        locked = issue.lock()
    assert (locked is True)
