This commit is contained in:
11
tests/support/materials.py
Normal file
11
tests/support/materials.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import bpy
|
||||
import pytest
|
||||
from 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)
|
||||
Reference in New Issue
Block a user