Files
cosma-log-analyzer/tests/conftest.py
2026-04-19 15:20:20 +00:00

14 lines
315 B
Python

from __future__ import annotations
from pathlib import Path
import pytest
from tests.fixtures.generate_fake_mcap import generate
@pytest.fixture(scope="session")
def fake_mcap(tmp_path_factory: pytest.TempPathFactory) -> Path:
path = tmp_path_factory.mktemp("mcap") / "fake.mcap"
return generate(path)