Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-11 00:20:32 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-11 00:45:51 +0300
commit79b9596c667934a97e6f7050fd325d03d653bb60 (patch)
tree141051cedf2396696032498c11457be8c943a3be
parent30887fc387e8b86fa97fbd64141993950124f0a7 (diff)
Tests: fix eevee and workbench using Cycles in a few tests
-rwxr-xr-xtests/python/eevee_render_tests.py3
-rwxr-xr-xtests/python/workbench_render_tests.py3
2 files changed, 6 insertions, 0 deletions
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'