mirror of
https://github.com/blender/blender.git
synced 2025-08-11 23:29:46 +00:00

Even though these tests are disabled, importing all members is bad practice and prevents some linter checks from working.
36 lines
997 B
Python
36 lines
997 B
Python
# SPDX-FileCopyrightText: 2017-2022 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# ############################################################
|
|
# Importing - Same For All Render Layer Tests
|
|
# ############################################################
|
|
|
|
import unittest
|
|
|
|
from view_layer_common import (
|
|
ViewLayerTesting,
|
|
setup_extra_arguments,
|
|
)
|
|
|
|
|
|
# ############################################################
|
|
# Testing
|
|
# ############################################################
|
|
|
|
class UnitTesting(ViewLayerTesting):
|
|
def test_visibility_cylinder(self):
|
|
"""
|
|
See if the depsgraph evaluation is correct
|
|
"""
|
|
self.do_visibility_object_add('CYLINDER')
|
|
|
|
|
|
# ############################################################
|
|
# Main - Same For All Render Layer Tests
|
|
# ############################################################
|
|
|
|
if __name__ == '__main__':
|
|
UnitTesting._extra_arguments = setup_extra_arguments(__file__)
|
|
unittest.main()
|