14 lines
315 B
Python
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)
|