blender/tests/python
Sean Kim f99b35463a Tests: Remove suite level apply_modifiers option for modifier tests
The `apply_modifiers` property of the `RunTest` class overrides
all of the test level `apply_modifier` properties. This prevents
modifiers from manually specifying when a modifier is applied and forces
the modifier to be applied immediately after it is added.

The vast majority of tests do not override the `apply_modifier`
property, the primary usecase for this property is to work in
combination with the `do_compare` property to allow examining the
corresponding .blend file to debug test failures.

This commit simplifies the settings by removing this parameter. It now
only disables applying the modifier if `do_compare` is set to False.

Pull Request: https://projects.blender.org/blender/blender/pulls/140893
2025-06-24 19:27:36 +02:00
..
collada Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
modules Tests: Remove suite level apply_modifiers option for modifier tests 2025-06-24 19:27:36 +02:00
overlay Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
sculpt_paint Fix #140556: Mask filter operations behave incorrectly on dense meshes 2025-06-23 19:22:33 +02:00
system_python Add 'system python' validation for some py scripts. 2024-12-24 11:55:29 +01:00
ui_simulate Tests: Add UI tests that verify loading all default workspaces 2025-06-12 20:27:38 +02:00
view_layer Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
alembic_export_tests.py Merge branch 'blender-v4.3-release' 2024-11-03 22:04:44 +11:00
batch_import.py
bevel_operator.py Fix #79163: Bevel operation produces disconnected UVs #139595. 2025-06-19 09:50:14 -04:00
bl_alembic_io_test.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
bl_animation_action.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
bl_animation_armature.py Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
bl_animation_bake.py Fix: Retain slot name when baking action 2025-04-03 10:18:15 +02:00
bl_animation_drivers.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
bl_animation_fcurves.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
bl_animation_keyframing.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
bl_animation_nla_strip.py Anim: rename RNA Slot.id_root to Slot.target_id_type 2025-01-20 15:24:08 +01:00
bl_blendfile_io.py Refactor: Tests: bl_blendfile: Use unittest module instead of asserts. 2025-01-17 21:05:39 +01:00
bl_blendfile_liblink.py Refactor: Tests: bl_blendfile: Use unittest module instead of asserts. 2025-01-17 21:05:39 +01:00
bl_blendfile_library_overrides.py Refactor: Tests: bl_blendfile: Use unittest module instead of asserts. 2025-01-17 21:05:39 +01:00
bl_blendfile_relationships.py Add file_path_map function to bpy.data. 2025-01-20 17:39:25 +01:00
bl_blendfile_utils.py Refactor: Tests: bl_blendfile: Use unittest module instead of asserts. 2025-01-17 21:05:39 +01:00
bl_blendfile_versioning.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
bl_brush_test.py Paint: Allow duplicating essential brushes into current file 2025-05-20 22:02:42 +02:00
bl_bundled_modules.py For VFX platform 2025 and more. 2025-02-06 14:57:02 +01:00
bl_constraints.py Anim: Add "replace" mix mode to the Action Constraint 2025-05-15 14:30:01 +02:00
bl_id_management.py Cleanup: pass multiple arguments to str.startswith 2024-10-30 16:33:37 +11:00
bl_imbuf_load.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_imbuf_save.py Cleanup: format 2024-10-16 21:09:25 +11:00
bl_io_curve_svg_test.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_keymap_completeness.py
bl_keymap_validate.py mypy: add 3 scripts to the "make check_mypy" config 2024-11-02 23:18:59 +11:00
bl_load_addons.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_load_py_modules.py Cleanup: restore error, exclude extensions tests from bl_load_py_modules 2024-05-16 16:02:25 +10:00
bl_mesh_modifiers.py Cleanup: format tests 2024-09-05 13:07:03 +10:00
bl_mesh_validate.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_node_field_type_inference.py Cleanup: unused imports 2024-04-19 16:09:30 +10:00
bl_node_group_compat.py Nodes: Add Factor and Percentage subtypes for vector sockets 2025-05-15 08:29:41 +02:00
bl_node_group_interface.py Compositor: Add boolean socket support 2025-03-21 12:03:09 +01:00
bl_object.py Tests: Add tests for object.voxel_remesh 2025-04-16 07:01:24 +02:00
bl_pose_assets.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
bl_pyapi_bmesh.py BMesh: Python: Add minimal API test for bmesh. 2025-06-16 16:18:41 +02:00
bl_pyapi_bpy_driver_secure_eval.py PyAPI: remove use of BaseException 2024-10-01 13:18:46 +10:00
bl_pyapi_bpy_path.py Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
bl_pyapi_bpy_utils_units.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_pyapi_grease_pencil.py Grease Pencil: Setter for drawing property on frame python API 2024-11-22 14:19:20 +01:00
bl_pyapi_idprop.py Cleanup: format tests 2024-09-05 13:07:03 +10:00
bl_pyapi_idprop_datablock.py Fix idprop_datablock unittest missing some cleanups. 2024-10-11 18:19:55 +02:00
bl_pyapi_mathutils.py Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
bl_pyapi_prop_array.py PyDoc: correct use of single back-ticks 2024-11-03 21:50:33 +11:00
bl_pyapi_text.py Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
bl_rigging_symmetrize.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
bl_rna_accessors.py Fix #133551: Crash accessing scene.tool_settings.uv_sculpt 2025-01-27 14:51:22 +01:00
bl_rna_defaults.py Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
bl_rna_manual_reference.py Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
bl_rna_paths.py Merge branch 'blender-v4.4-release' 2025-02-28 17:14:34 +01:00
bl_rst_completeness.py Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
bl_sculpt.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
bl_test.py Cleanup: use context-manager for opening files 2025-01-04 22:26:18 +11:00
bl_usd_export_test.py USD: Add support for Point Instancing during Export 2025-06-14 01:10:55 +02:00
bl_usd_import_test.py Fix: USD: Traverse through UsdShadeNodeGraph nodes during material import 2025-06-18 20:25:29 +02:00
boolean_operator.py
CMakeLists.txt Fix #140556: Mask filter operations behave incorrectly on dense meshes 2025-06-23 19:22:33 +02:00
compositor_file_output_tests.py Tests: Compositor: update failing images only 2025-02-24 12:09:06 +01:00
compositor_render_tests.py Cleanup: Tests: remove unnecessary --gpu argument 2025-02-14 18:02:31 +01:00
curve_to_mesh.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
curves_extrude.py Cleanup: move binary operator to line end in Python scripts 2024-11-02 15:43:26 +11:00
cycles_render_tests.py Tests: Allow OptiX to run tests in the OSL folder 2025-06-03 14:46:32 +02:00
deform_modifiers.py Tests: Remove suite level apply_modifiers option for modifier tests 2025-06-24 19:27:36 +02:00
eevee_render_tests.py Cleanup: EEVEE: Remove next from EEVEE-Next from tests suite 2025-05-01 17:54:22 +02:00
ffmpeg_tests.py VSE: Python API: Deprecate sequence properties and replace with new ones 2025-01-21 11:30:20 +01:00
geo_node_sim_test.py
geo_node_test.py Geometry Nodes: enable closure regression tests 2025-04-13 13:55:23 +02:00
gpu_info.py Fix: GPU test errors importing gpu module 2024-03-26 20:16:02 +01:00
io_fbx_import_test.py Tests: switch FBX import tests to use the new importer 2025-04-16 13:01:46 +02:00
io_obj_import_test.py Tests: Add FBX import tests, switch OBJ/PLY/STL import tests to the same machinery 2025-01-15 05:52:15 +01:00
io_ply_import_test.py Tests: Add FBX import tests, switch OBJ/PLY/STL import tests to the same machinery 2025-01-15 05:52:15 +01:00
io_stl_import_test.py Tests: Add FBX import tests, switch OBJ/PLY/STL import tests to the same machinery 2025-01-15 05:52:15 +01:00
modifiers.py Tests: Remove suite level apply_modifiers option for modifier tests 2025-06-24 19:27:36 +02:00
object_conversion.py Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
operators.py Modeling: add an angle threshold that affects vertex dissolve 2025-06-05 05:33:49 +00:00
overlay_render_tests.py GPU: Remove WITH_GPU_RENDER_TESTS_SILENT option 2025-04-15 17:56:16 +02:00
pep8.py Cleanup: exclude "./lib/" from pep8 checker 2024-11-06 10:49:53 +11:00
physics_cloth.py Tests: Remove suite level apply_modifiers option for modifier tests 2025-06-24 19:27:36 +02:00
physics_dynamic_paint.py Tests: Remove suite level apply_modifiers option for modifier tests 2025-06-24 19:27:36 +02:00
physics_ocean.py Tests: Remove suite level apply_modifiers option for modifier tests 2025-06-24 19:27:36 +02:00
physics_particle_instance.py Tests: Remove suite level apply_modifiers option for modifier tests 2025-06-24 19:27:36 +02:00
physics_particle_system.py Tests: Remove suite level apply_modifiers option for modifier tests 2025-06-24 19:27:36 +02:00
physics_softbody.py Tests: Remove suite level apply_modifiers option for modifier tests 2025-06-24 19:27:36 +02:00
rna_array.py
rna_info_dump.py Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
rst_to_doctree_mini.py
sculpt_brush_render_tests.py Tests: Add initial sculpt mesh render test 2025-02-14 07:36:00 +01:00
sequencer_render_tests.py Refactor: render tests, change how argparse is used 2024-12-10 14:52:34 +01:00
storm_render_tests.py GPU: Remove WITH_GPU_RENDER_TESTS_SILENT option 2025-04-15 17:56:16 +02:00
ui_screenshot_tests.py Tests: Fix "opengl_draw" tests 2025-01-30 18:44:23 +01:00
workbench_render_tests.py GPU: Remove WITH_GPU_RENDER_TESTS_SILENT option 2025-04-15 17:56:16 +02:00