Skip to content

World's first open-source, agentic video production system. 12 production pipelines, 100+ tools, 700+ agent skill and production-knowledge files. Turn your AI coding assistant into a full video production studio.

418 B
Raw Blame
"""Shared fixtures for contract tests."""

from __future__ import annotations

import pytest

from tools.tool_registry import ToolRegistry


@pytest.fixture()
def isolated_tool_registry(monkeypatch) -> ToolRegistry:
    """Provide a registry singleton replacement scoped to one test."""
    test_registry = ToolRegistry()
    monkeypatch.setattr("tools.tool_registry.registry", test_registry)
    return test_registry