

def test_subscription_billing_history_without_sub(self, mock_stripe):
    ' Subscription billing history without sub should still work. '
    self.login()
    response = mock_stripe.client.get(url_for('billing.billing_history'))
    assert_status_with_message(200, response, 'Billing details and history')

dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/tests/billing/test_views.py TestBilling.test_subscription_billing_history_without_sub/VarMisuse@22/51 `self`->`mock_stripe`