From 4db9bef8c6d4dfeff3a9b1a03fa1606009268e6f Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Fri, 27 Nov 2015 00:14:33 +0100 Subject: [PATCH] Fix import --- tests/test_wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_wizards.py b/tests/test_wizards.py index 1035035..56fe2a2 100644 --- a/tests/test_wizards.py +++ b/tests/test_wizards.py @@ -5,7 +5,6 @@ import sys from distutils.version import LooseVersion import cms -from cms.utils.permissions import current_user from .base import BaseTest @@ -48,6 +47,7 @@ class WizardTest(BaseTest): @skipIf(LooseVersion(cms.__version__) < LooseVersion('3.2'), reason='Wizards not available for django CMS < 3.2') def test_wizard_init(self): + from cms.utils.permissions import current_user from cms.wizards.wizard_pool import wizard_pool from djangocms_blog.models import Post self.get_pages()