[Bf-blender-cvs] [79b9596c667] master: Tests: fix eevee and workbench using Cycles in a few tests

Brecht Van Lommel noreply at git.blender.org
Sat May 11 00:13:07 CEST 2019


Commit: 79b9596c667934a97e6f7050fd325d03d653bb60
Author: Brecht Van Lommel
Date:   Fri May 10 23:20:32 2019 +0200
Branches: master
https://developer.blender.org/rB79b9596c667934a97e6f7050fd325d03d653bb60

Tests: fix eevee and workbench using Cycles in a few tests

===================================================================

M	tests/python/eevee_render_tests.py
M	tests/python/workbench_render_tests.py

===================================================================

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'



More information about the Bf-blender-cvs mailing list