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

    def _error(response):
        assert False

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


# Grant permission read false, write false, on channel ( Async Mode )
dataset/ETHPy150Open pubnub/python/python-twisted/tests/test_grant_async.py/test_1/operator `==` -> `<`