Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

269 B
Raw Blame
from unittest.mock import MagicMock

import httpx
import msgpack_numpy as m
import pytest

# Patch msgpack for numpy support
m.patch()


@pytest.fixture
def mock_httpx_client() -> MagicMock:
    """Create a mock httpx.Client."""
    return MagicMock(spec=httpx.Client)