From 79b9596c667934a97e6f7050fd325d03d653bb60 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 10 May 2019 23:20:32 +0200 Subject: Tests: fix eevee and workbench using Cycles in a few tests --- tests/python/eevee_render_tests.py | 3 +++ tests/python/workbench_render_tests.py | 3 +++ 2 files changed, 6 insertions(+) (limited to 'tests/python') 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' -- cgit v1.2.3