Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2017-06-19 16:28:28 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-06-19 16:28:52 +0300
commit7461bb3f52e7463b70ddadd35c7066f3c643c55d (patch)
tree4eb769654e8f03d0fe33852c55685160fc50f8ce /tests/python
parentc9291ab2ac11a169244fc5c815e683a7b36a9bb8 (diff)
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.
Diffstat (limited to 'tests/python')
-rw-r--r--tests/python/bl_load_py_modules.py3
1 files changed, 3 insertions, 0 deletions
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`.