Changeset View
Changeset View
Standalone View
Standalone View
tests/python/view_layer/test_evaluation_render_settings_a.py
- This file was moved from tests/python/render_layer/test_evaluation_render_settings_a.py.
| # ############################################################ | # ############################################################ | ||||
| # Importing - Same For All Render Layer Tests | # Importing - Same For All Render Layer Tests | ||||
| # ############################################################ | # ############################################################ | ||||
| import unittest | import unittest | ||||
| import os | import os | ||||
| import sys | import sys | ||||
| from render_layer_common import * | from view_layer_common import * | ||||
| # ############################################################ | # ############################################################ | ||||
| # Testing | # Testing | ||||
| # ############################################################ | # ############################################################ | ||||
| class UnitTesting(RenderLayerTesting): | class UnitTesting(ViewLayerTesting): | ||||
| def test_render_settings(self): | def test_render_settings(self): | ||||
| """ | """ | ||||
| See if the depsgraph evaluation is correct | See if the depsgraph evaluation is correct | ||||
| """ | """ | ||||
| clay = Clay() | clay = Clay() | ||||
| self.assertEqual(clay.get('object', 'matcap_icon'), '01') | self.assertEqual(clay.get('object', 'matcap_icon'), '01') | ||||
| clay.set('scene', 'matcap_icon', '05') | clay.set('scene', 'matcap_icon', '05') | ||||
| self.assertEqual(clay.get('object', 'matcap_icon'), '05') | self.assertEqual(clay.get('object', 'matcap_icon'), '05') | ||||
| Show All 9 Lines | |||||