Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Cancel a given subscription.

src/p/a/PayPy-0.6/tests/test_subscription.py   PayPy(Download)
 
        subscription = Subscription(arb)
        result       = subscription.cancel()
        assert result.code == 'I00001', 'Expected a successful request, received this instead: %s' % result.reason
 
 
        subscription = Subscription(arb)
        result       = subscription.cancel()
        assert result.code == 'I00001', 'Expected a successful request, received this instead: %s' % result.reason