diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-11 00:20:32 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-11 00:45:51 +0300 |
commit | 79b9596c667934a97e6f7050fd325d03d653bb60 (patch) | |
tree | 141051cedf2396696032498c11457be8c943a3be /tests/python | |
parent | 30887fc387e8b86fa97fbd64141993950124f0a7 (diff) |
Tests: fix eevee and workbench using Cycles in a few tests
Diffstat (limited to 'tests/python')
-rwxr-xr-x | tests/python/eevee_render_tests.py | 3 | ||||
-rwxr-xr-x | tests/python/workbench_render_tests.py | 3 |
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' |