diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-27 01:19:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-27 01:19:51 +0400 |
commit | 8a51d235e608dc45c30338aaaa74f925c185c73a (patch) | |
tree | d62a750e88fb3ea7fb52fcb9f498c7e60134421d /source/tests/bl_run_operators.py | |
parent | dbeddcdbcef7d6622f08c4647e5253165dbebe07 (diff) |
pep8 cleanup
Diffstat (limited to 'source/tests/bl_run_operators.py')
-rw-r--r-- | source/tests/bl_run_operators.py | 5 |
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!") |