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
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/python/bl_load_addons.py4
-rw-r--r--tests/python/bl_load_py_modules.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/python/bl_load_addons.py b/tests/python/bl_load_addons.py
index 6bb0eaecd3d..29304400005 100644
--- a/tests/python/bl_load_addons.py
+++ b/tests/python/bl_load_addons.py
@@ -65,7 +65,7 @@ def disable_addons():
# first disable all
addons = bpy.context.user_preferences.addons
for mod_name in list(addons.keys()):
- addon_utils.disable(mod_name)
+ addon_utils.disable(mod_name, default_set=True)
assert(bool(addons) is False)
@@ -111,7 +111,7 @@ def reload_addons(do_reload=True, do_reverse=True):
for mod in modules:
mod_name = mod.__name__
print("\tdisabling:", mod_name)
- addon_utils.disable(mod_name)
+ addon_utils.disable(mod_name, default_set=True)
assert(not (mod_name in addons))
# now test reloading
diff --git a/tests/python/bl_load_py_modules.py b/tests/python/bl_load_py_modules.py
index 07905dfa4b4..d4285155000 100644
--- a/tests/python/bl_load_py_modules.py
+++ b/tests/python/bl_load_py_modules.py
@@ -68,7 +68,7 @@ def load_addons():
# first disable all
for mod_name in list(addons.keys()):
- addon_utils.disable(mod_name)
+ addon_utils.disable(mod_name, default_set=True)
assert(bool(addons) is False)