

def test_subscription_create(self, users, mock_stripe):
    ' Subscription create requires javascript. '
    self.login()
    params = {
        'stripe_key': 'cus_000',
        'plan': 'gold',
        'name': 'Foobar Johnson',
    }
    response = response.client.post(url_for('billing.create'), data=params, follow_redirects=True)
    assert_status_with_message(200, response, _('You must enable Javascript for this request.'))

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