| 1 |
"""Test fixtures — factories for synthetic .dlm files, hardware mocks, |
| 2 |
tiny-model cache, and the golden-output registry. |
| 3 |
|
| 4 |
Importable from tests without pytest's fixture machinery; helpers are |
| 5 |
plain functions and context managers. |
| 6 |
""" |
| 7 |
|
| 8 |
from __future__ import annotations |
| 9 |
|
| 10 |
from tests.fixtures.dlm_factory import make_dlm |
| 11 |
from tests.fixtures.golden import assert_golden, golden_path, load_golden |
| 12 |
from tests.fixtures.hardware_mocks import force_cpu, force_cuda, force_mps, force_rocm |
| 13 |
|
| 14 |
__all__ = [ |
| 15 |
"assert_golden", |
| 16 |
"force_cpu", |
| 17 |
"force_cuda", |
| 18 |
"force_mps", |
| 19 |
"force_rocm", |
| 20 |
"golden_path", |
| 21 |
"load_golden", |
| 22 |
"make_dlm", |
| 23 |
] |