Fix import

This commit is contained in:
Iacopo Spalletti 2015-11-27 00:14:33 +01:00
parent 395185f5fe
commit 4db9bef8c6

View file

@ -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()