Files
AnyImage/tests/support/materials.py
nan 0aeb61f818 Refactor tests and remove unused imports
- Cleaned up test files by removing unnecessary imports and unused parameters.
- Simplified test functions by eliminating redundant parameterization and consolidating logic.
- Updated test cases to directly use defined values instead of parameterized inputs where applicable.
- Enhanced readability and maintainability of the test code across various test files.
2026-09-17 10:02:05 +08:00

12 lines
289 B
Python

import bpy
import pytest
from tools.nodes.groups.image_layer import build_image_layer_group
@pytest.fixture
def image_layer():
bpy.ops.wm.read_factory_settings(use_empty=True)
group = build_image_layer_group()
yield group
bpy.ops.wm.read_factory_settings(use_empty=True)