Tests: bpy props: Add systematic tests for non-array types.

Fairly basic tests still, would need to be extended to check invalid
cases handling too.

Pull Request: https://projects.blender.org/blender/blender/pulls/145136
This commit is contained in:
Bastien Montagne
2025-08-25 18:47:37 +02:00
committed by Bastien Montagne
parent f4421dfc8e
commit 8bb8bff4bf
4 changed files with 343 additions and 0 deletions

View File

@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: Apache-2.0
# NOTE: See also `bl_pyapi_prop.py` for the non-`Vector` bpy.props similar tests,
# and `bl_pyapi_idprop.py` for some deeper testing of the consistency between
# the underlying IDProperty storage, and the property data exposed in Python.
# ./blender.bin --background --python tests/python/bl_pyapi_prop_array.py -- --verbose
import bpy
from bpy.props import (