

def test_pricing_page_as_subscriber(self, subscriptions):
    ' Pricing page for subscribers should redirect to update. '
    self.login(identity='subscriber@localhost.com')
    response = self.client.get(url_for('billing.pricing'), follow_redirects=True)
    assert_status_with_message(200, response, 'Change plan')

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