Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

323 B
Raw Blame
import pytest

from controllers.console.billing.error import to_billing_request_error
from services.errors.billing import BillingError


def test_to_billing_request_error_rejects_unknown_error() -> None:
    with pytest.raises(TypeError, match="Unsupported billing error"):
        to_billing_request_error(BillingError())