def test_subscription_update_payment_method(self, subscriptions,
                                                mock_stripe):
        self.login(identity='subscriber@localhost.com')
        response = self.client.post(url_for('billing.update_payment_method'),
                                    data={}, follow_redirects=True)

        assert_status_with_message(200, response,
                                   _('You must enable Javascript for this '
                                     'request.'))
Subscription update payment requires javascript.
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/tests/billing/test_views.py/TestBilling.test_subscription_update_payment_method