[Bf-blender-cvs] [7461bb3f52e] master: Fixed bl_load_py_modules / script_load_modules unit test
Sybren A. Stüvel
noreply at git.blender.org
Mon Jun 19 15:29:50 CEST 2017
Commit: 7461bb3f52e7463b70ddadd35c7066f3c643c55d
Author: Sybren A. Stüvel
Date: Mon Jun 19 15:28:28 2017 +0200
Branches: master
https://developer.blender.org/rB7461bb3f52e7463b70ddadd35c7066f3c643c55d
Fixed bl_load_py_modules / script_load_modules unit test
It tried to assert that
addons/io_blend_utils/blender_bam-unpacked.whl/__init__.py was loaded when
the io_blend_utils module was imported. However, this happens only on
demand, and not directly when importing the add-on.
===================================================================
M tests/python/bl_load_py_modules.py
===================================================================
diff --git a/tests/python/bl_load_py_modules.py b/tests/python/bl_load_py_modules.py
index 5908ba14718..4935491a6be 100644
--- a/tests/python/bl_load_py_modules.py
+++ b/tests/python/bl_load_py_modules.py
@@ -36,6 +36,9 @@ BLACKLIST = {
"cycles",
"io_export_dxf", # TODO, check on why this fails
'io_import_dxf', # Because of cydxfentity.so dependency
+
+ # The unpacked wheel is only loaded when actually used, not directly on import:
+ "io_blend_utils/blender_bam-unpacked.whl",
}
# Some modules need to add to the `sys.path`.
More information about the Bf-blender-cvs
mailing list