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:
authorCampbell Barton <ideasman42@gmail.com>2015-06-13 22:12:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-13 22:14:43 +0300
commit1c81bcffde7a2533a9e8e8bc05c9ef7f24588309 (patch)
tree918363f9a9da19e1ae55111d3b1c9281437682d0 /tests
parent75a86d6a8e48c988294303a2390a0c7b86cca417 (diff)
addon_utils default mismatch /w enable/disable
default_set argument is now False for both.
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)