blender/tests/python/view_layer/test_evaluation_render_settings_b.py
Campbell Barton 91346755ce Cleanup: use '#' prefix for issues instead of 'T'
Match the convention from Gitea instead of Phabricator's T for tasks.
2023-02-12 14:56:05 +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 #55454")
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()