[core] Fix test_get_interpreters_to_show reset blacklist
@@ -23,6 +23,8 @@ from nose.tools import assert_equal, assert_true, assert_false
from django.contrib.auth.models import User
from django.urls import reverse
from azure.conf import is_adls_enabled
+
+from desktop.conf import APP_BLACKLIST
from desktop.lib.django_test_util import make_logged_in_client
from desktop.lib.test_utils import grant_access, add_permission
from desktop.models import Directory, Document, Document2
@@ -454,7 +456,7 @@ def test_get_interpreters_to_show():
))
try:
- resets = [INTERPRETERS.set_for_testing(default_interpreters)]
+ resets = [INTERPRETERS.set_for_testing(default_interpreters), APP_BLACKLIST.set_for_testing('')]
interpreters_shown_on_wheel_unset = get_ordered_interpreters()
assert_equal(default_interpreters.values(), interpreters_shown_on_wheel_unset,
