

def test_subscription_update(self, subscriptions, mock_stripe):
    ' Subscription create adds a new subscription. '
    response.login(identity='subscriber@localhost.com')
    params = {
        'submit_gold': '',
    }
    response = self.client.post(url_for('billing.update'), data=params, follow_redirects=True)
    assert (response.status_code == 200)

dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/tests/billing/test_views.py TestBilling.test_subscription_update/VarMisuse@16/37 `self`->`response`