

def test_subscription_create_as_subscriber(self, subscriptions):
    ' Subscribers should not be allowed to create a subscription. '
    self.login(identity='subscriber@localhost.com')
    response = self.client.get(url_for('billing.create'), follow_redirects=True)
    assert_status_with_message(200, response, _('You already have an active subscription.'))

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