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.

309 B
Raw Blame
"""Shared fixtures for controllers.web unit tests."""

from __future__ import annotations

import pytest
from flask import Flask


@pytest.fixture
def app() -> Flask:
    """Minimal Flask app for request contexts."""
    flask_app = Flask(__name__)
    flask_app.config["TESTING"] = True
    return flask_app