'Verify the endpoint returns HTTP 403 if the provider has no key configured.'

def test_credit_provider_key_not_configured(self):

    request_uuid = self._create_credit_request_and_get_uuid()
    with override_settings(CREDIT_PROVIDER_SECRET_KEYS={}):
        response = self._credit_provider_callback(request_uuid, u'approved', keys={})
        self.assertEqual(response.status_code, 403)
