- 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.
12 lines
289 B
Python
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)
|