'Test the ability to ping a hook on a repository.'

def test_ping(self):

    self.token_login()
    cassette_name = self.cassette_name('ping')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('github3py', 'delete_contents')
        hook = repository.hook(7112180)
        pinged = hook.ping()
    assert pinged
