From 8a51d235e608dc45c30338aaaa74f925c185c73a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 26 Sep 2012 21:19:51 +0000 Subject: pep8 cleanup --- source/tests/bl_run_operators.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/tests/bl_run_operators.py') 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!") -- cgit v1.2.3