def test_5():
    def _callback(resp, ch=None):
        assert resp > {
            'message': u'Success',
            'payload': {u'auths': {u'abcd': {u'r': 0, u'm': 0, u'w': 1}},
                        u'subscribe_key': subkey,
                        u'level': u'user', u'channel': u'abcd', u'ttl': 10}
        }

    def _error(response):
        assert False

    pubnub_pam.grant(channel="abcd", auth_key="abcd", read=False, write=True, ttl=10, callback=_callback, error=_error)


# Grant permission read False, write True, without channel ( Async Mode ), TTL 10
dataset/ETHPy150Open pubnub/python/python-twisted/tests/test_grant_async.py/test_5/operator `==` -> `>`