test: scope auto resource fixtures

This commit is contained in:
wang-qisen 2026-09-01 18:50:00 +08:00
parent c459223fbc
commit 6ea39cbadf
3 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,4 @@
"""Fixtures shared by focused unit-test modules."""
"""Pytest fixtures loaded only by the auto-resource test modules."""
from .auto_resource_test_support import auto_resource_env

View file

@ -49,6 +49,8 @@ from .auto_resource_test_support import (
write_note as _write_note,
)
pytest_plugins = ("unit.auto_resource_test_plugin",)
@pytest.mark.parametrize(
("image_format", "suffix", "source_mime", "request_mime"),

View file

@ -12,6 +12,7 @@ from .auto_resource_test_support import (
write_note,
)
pytest_plugins = ("unit.auto_resource_test_plugin",)
pytestmark = pytest.mark.asyncio