Layer Unittesting: pep8 2/2
Mass replacing the common code of all tests ``` echo "Fixing $1" ed "$1" <<'EOF' 1,/Testing/d i from render_layer_common import * import unittest import os import sys sys.path.append(os.path.dirname(__file__)) . w q EOF ``` Using line-width of 120
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
# ./blender.bin --background -noaudio --python tests/python/render_layer/test_scene_copy.py -- --testdir="/data/lib/tests/"
|
||||
|
||||
# ############################################################
|
||||
# Importing - Same For All Render Layer Tests
|
||||
# ############################################################
|
||||
|
||||
import unittest
|
||||
|
||||
import os, sys
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
|
||||
from render_layer_common import *
|
||||
import unittest
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
|
||||
|
||||
# ############################################################
|
||||
|
Reference in New Issue
Block a user