2017-04-03 18:42:01 +02:00
|
|
|
# ############################################################
|
|
|
|
# Importing - Same For All Render Layer Tests
|
|
|
|
# ############################################################
|
|
|
|
|
|
|
|
import unittest
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2017-11-22 10:52:39 -02:00
|
|
|
from view_layer_common import *
|
2017-04-03 18:42:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
# ############################################################
|
|
|
|
# Testing
|
|
|
|
# ############################################################
|
|
|
|
|
2017-11-22 10:52:39 -02:00
|
|
|
class UnitTesting(ViewLayerTesting):
|
2017-04-03 18:42:01 +02:00
|
|
|
def test_visibility_torus(self):
|
|
|
|
"""
|
|
|
|
See if the depsgraph evaluation is correct
|
|
|
|
"""
|
|
|
|
self.do_visibility_object_add('TORUS')
|
|
|
|
|
|
|
|
|
|
|
|
# ############################################################
|
|
|
|
# Main - Same For All Render Layer Tests
|
|
|
|
# ############################################################
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2017-06-19 16:12:11 +10:00
|
|
|
UnitTesting._extra_arguments = setup_extra_arguments(__file__)
|
2017-04-03 18:42:01 +02:00
|
|
|
unittest.main()
|