blender/tests/python/view_layer/test_evaluation_render_settings_b.py
Jeroen Bakker b6b1e0f56c T55454: removal of clay engine
The ClayEngine was introduced to test the blender2.8 architecture during
development. As currently we have the wanted features implemented with
matcaps we are going to remove the clay engine as it was never intended
to be an official releasable engine

Note: The test cases are never run. But when enabled will be skipped as
they were implemented over the Clay Engine
2018-06-12 15:32:31 +02:00

36 lines
1.1 KiB
Python

# ############################################################
# Importing - Same For All Render Layer Tests
# ############################################################
import unittest
import os
import sys
from view_layer_common import *
# ############################################################
# Testing
# ############################################################
class UnitTesting(ViewLayerTesting):
@unittest.skip("Uses the clay engine, that is removed T55454")
def test_render_settings(self):
"""
See if the depsgraph evaluation is correct
"""
clay = Clay()
self.assertEqual(clay.get('object', 'matcap_icon'), '01')
clay.set('scene', 'matcap_icon', '05')
clay.set('grandma', 'matcap_icon', '03')
self.assertEqual(clay.get('object', 'matcap_icon'), '03')
# ############################################################
# Main - Same For All Render Layer Tests
# ############################################################
if __name__ == '__main__':
UnitTesting._extra_arguments = setup_extra_arguments(__file__)
unittest.main()