91346755ce
Match the convention from Gitea instead of Phabricator's T for tasks.
38 lines
1.1 KiB
Python
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()
|