Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-09-27 01:19:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-27 01:19:51 +0400
commit8a51d235e608dc45c30338aaaa74f925c185c73a (patch)
treed62a750e88fb3ea7fb52fcb9f498c7e60134421d /source/tests/bl_run_operators.py
parentdbeddcdbcef7d6622f08c4647e5253165dbebe07 (diff)
pep8 cleanup
Diffstat (limited to 'source/tests/bl_run_operators.py')
-rw-r--r--source/tests/bl_run_operators.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/tests/bl_run_operators.py b/source/tests/bl_run_operators.py
index 146b60b8f28..f792b83a8cd 100644
--- a/source/tests/bl_run_operators.py
+++ b/source/tests/bl_run_operators.py
@@ -89,6 +89,7 @@ def run_ops(operators, setup_func=None, reset=True):
bpy.ops.wm.read_factory_settings()
setup_func()
+
# contexts
def ctx_clear_scene(): # copied from batch_import.py
unique_obs = set()
@@ -231,7 +232,7 @@ def main():
#import random
#random.shuffle(operators)
-
+
# 2 passes, first just run setup_func to make sure they are ok
for operators_test in ((), operators):
# Run the operator tests in different contexts
@@ -259,7 +260,7 @@ def main():
run_ops(operators_test, setup_func=ctx_editmode_mball)
run_ops(operators_test, setup_func=ctx_editmode_text)
run_ops(operators_test, setup_func=ctx_editmode_lattice)
-
+
if not operators_test:
print("All setup functions run fine!")