def test_unsubscribeWithSubscriptionIdentifier(self):
        d = self.protocol.unsubscribe(JID('pubsub.example.org'), 'test',
                                      JID('user@example.org'),
                                      subscriptionIdentifier='1234')

        iq = self.stub.output[-1]
        child = iq.pubsub.unsubscribe
        self.assertEquals('1234', child['subid'])

        self.stub.send(toResponse(iq, 'result'))
        return d
Restore sys.path
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_pubsub.py/PubSubClientTest.test_unsubscribeWithSubscriptionIdentifier--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_site.py/ImportSideEffectTests.tearDown