tornavis/tests
Campbell Barton ae6a4fcc7a Tests: add test to ensure restricted py-driver execution is working
Add internal function (only used for testing at the moment)
`_bpy._driver_secure_code_test`.

Add test `script_pyapi_bpy_driver_secure_eval` to serves two purposes:

- Ensure expressions that should be insecure remain so when upgrading
  Python or making any changes in this area.

- Ensure new versions of Python don't introduce new byte-codes that
  prevent existing expressions from being executed
  (happened when upgrading from 3.7, see [0]).

[0]: dfa5201763
2022-07-12 16:11:19 +10:00
..
blender_as_python_module File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
gtests License headers: use SPDX for remaining CMake find modules & gtests 2022-02-15 17:45:39 +11:00
performance Cleanup: format 2022-06-30 12:14:23 +10:00
python Tests: add test to ensure restricted py-driver execution is working 2022-07-12 16:11:19 +10:00
CMakeLists.txt File headers: use SPDX license for CMake files 2022-02-11 14:23:56 +11:00