From 7461bb3f52e7463b70ddadd35c7066f3c643c55d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 19 Jun 2017 15:28:28 +0200 Subject: [PATCH] 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. --- tests/python/bl_load_py_modules.py | 3 +++ 1 file changed, 3 insertions(+) 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`.