diff --git a/tests/performance/tests/blend_load.py b/tests/performance/tests/blend_load.py index bbadb5c9d89..f2036ea5932 100644 --- a/tests/performance/tests/blend_load.py +++ b/tests/performance/tests/blend_load.py @@ -13,7 +13,7 @@ def _run(filepath): # Load once to ensure it's cached by OS bpy.ops.wm.open_mainfile(filepath=filepath) - bpy.ops.wm.read_homefile() + bpy.ops.wm.read_homefile(use_empty=True, use_factory_startup=True) # Measure loading the second time start_time = time.time() diff --git a/tests/python/bl_alembic_io_test.py b/tests/python/bl_alembic_io_test.py index 6b098ab0e6c..f10a9c6f022 100644 --- a/tests/python/bl_alembic_io_test.py +++ b/tests/python/bl_alembic_io_test.py @@ -256,7 +256,7 @@ class CameraExportImportTest(unittest.TestCase): # Unload the current blend file to release the imported Alembic file. # This is necessary on Windows in order to be able to delete the # temporary ABC file. - bpy.ops.wm.read_homefile() + bpy.ops.wm.read_homefile(use_empty=True, use_factory_startup=True) self._tempdir.cleanup() def test_export_hierarchy(self):