diff --git a/tests/python/eevee_render_tests.py b/tests/python/eevee_render_tests.py index 61eff8299ab..c0536e05164 100755 --- a/tests/python/eevee_render_tests.py +++ b/tests/python/eevee_render_tests.py @@ -12,6 +12,9 @@ import sys def setup(): import bpy + for scene in bpy.data.scenes: + scene.render.engine = 'BLENDER_EEVEE' + # Enable Eevee features scene = bpy.context.scene eevee = scene.eevee diff --git a/tests/python/workbench_render_tests.py b/tests/python/workbench_render_tests.py index 5b759214140..1a0d639bccd 100755 --- a/tests/python/workbench_render_tests.py +++ b/tests/python/workbench_render_tests.py @@ -12,6 +12,9 @@ import sys def setup(): import bpy + for scene in bpy.data.scenes: + scene.render.engine = 'BLENDER_WORKBENCH' + scene = bpy.context.scene scene.display.shading.color_type = 'TEXTURE'