diff options
author | Bastien Montagne <bastien@blender.org> | 2021-09-06 11:56:02 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-09-06 11:56:02 +0300 |
commit | 81978594a89a2e53c3d6626f51dfa85e94d6811d (patch) | |
tree | 376511415eb12e223325b5e8a15158bec46f3ce0 | |
parent | b4c9f88cbede8bc27d4d869232fd4a8f59e39f40 (diff) |
Fix tests broken by rB58632a7f3c0f1be6.
Commits breaking RNA API should always run all tests, and do text search
in python code base to ensure everything is updated as needed.
-rw-r--r-- | tests/python/bl_blendfile_io.py | 2 | ||||
-rw-r--r-- | tests/python/bl_blendfile_liblink.py | 2 | ||||
-rw-r--r-- | tests/python/bl_blendfile_library_overrides.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/python/bl_blendfile_io.py b/tests/python/bl_blendfile_io.py index 38b3a93bbbc..4123f06b7c4 100644 --- a/tests/python/bl_blendfile_io.py +++ b/tests/python/bl_blendfile_io.py @@ -73,7 +73,7 @@ def main(): args = argparse_create().parse_args() # Don't write thumbnails into the home directory. - bpy.context.preferences.filepaths.use_save_preview_images = False + bpy.context.preferences.filepaths.file_preview_type = 'NONE' for Test in TESTS: Test(args).run_all_tests() diff --git a/tests/python/bl_blendfile_liblink.py b/tests/python/bl_blendfile_liblink.py index 1d076d66913..ac71fa85246 100644 --- a/tests/python/bl_blendfile_liblink.py +++ b/tests/python/bl_blendfile_liblink.py @@ -278,7 +278,7 @@ def main(): args = argparse_create().parse_args() # Don't write thumbnails into the home directory. - bpy.context.preferences.filepaths.use_save_preview_images = False + bpy.context.preferences.filepaths.file_preview_type = 'NONE' for Test in TESTS: Test(args).run_all_tests() diff --git a/tests/python/bl_blendfile_library_overrides.py b/tests/python/bl_blendfile_library_overrides.py index b44e4d48564..3c7c77ce339 100644 --- a/tests/python/bl_blendfile_library_overrides.py +++ b/tests/python/bl_blendfile_library_overrides.py @@ -208,7 +208,7 @@ def main(): args = argparse_create().parse_args() # Don't write thumbnails into the home directory. - bpy.context.preferences.filepaths.use_save_preview_images = False + bpy.context.preferences.filepaths.file_preview_type = 'NONE' bpy.context.preferences.experimental.use_override_templates = True for Test in TESTS: |