瀏覽代碼

HUE-8737 [py3] Add missing import in test util

Romain 6 年之前
父節點
當前提交
4ab1cb00c5
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      desktop/core/src/desktop/lib/django_test_util.py

+ 2 - 0
desktop/core/src/desktop/lib/django_test_util.py

@@ -27,6 +27,8 @@ import nose.tools
 
 from useradmin.models import User, Group, default_organization
 
+from desktop.conf import ENABLE_ORGANIZATIONS
+
 
 class Client(django.test.client.Client):
   """