def test_affiliations(self):

        def cb(result):
            self.assertEquals('feature-not-implemented', result.condition)
            self.assertEquals('unsupported', result.appCondition.name)
            self.assertEquals(NS_PUBSUB_ERRORS, result.appCondition.uri)
            self.assertEquals('retrieve-affiliations',
                              result.appCondition['feature'])

        d = self.resource.affiliations(pubsub.PubSubRequest())
        self.assertFailure(d, error.StanzaError)
        d.addCallback(cb)
        return d
JRPC method
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_pubsub.py/PubSubResourceTest.test_affiliations--crossover with--dataset/ETHPy150Open satnet-project/server/services/network/jrpc/views.py/hostname_geoip