

def test_subscription_cancel(self, subscriptions, mock_stripe):
    ' Subscription cancel is successful. '
    self.login(identity='subscriber@localhost.com')
    response = self.client.post(url_for('billing.cancel'), data={
        
    }, follow_redirects=True)
    assert_status_with_message(200, response, _('Sorry to see you go, your subscription has been cancelled.'))

dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/tests/billing/test_views.py TestBilling.test_subscription_cancel/original