feat: scaffold cosma-log-analyzer with 5 deterministic rules + fake MCAP e2e test

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
floppyrj45
2026-04-19 15:20:20 +00:00
parent 668d84c187
commit b0bbb51873
7 changed files with 459 additions and 0 deletions

13
tests/conftest.py Normal file
View File

@@ -0,0 +1,13 @@
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)