blender/tests/python/view_layer/test_evaluation_render_settings_e.py
2022-02-11 14:30:21 +11:00

38 lines
1.1 KiB
Python

# SPDX-License-Identifier: GPL-2.0-or-later
# ############################################################
# 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('grandma', 'matcap_icon', '04')
clay.set('kid', 'matcap_icon', '05')
self.assertEqual(clay.get('object', 'matcap_icon'), '05')
# ############################################################
# Main - Same For All Render Layer Tests
# ############################################################
if __name__ == '__main__':
UnitTesting._extra_arguments = setup_extra_arguments(__file__)
unittest.main()