Fix import
This commit is contained in:
parent
395185f5fe
commit
4db9bef8c6
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,6 @@ import sys
|
||||||
from distutils.version import LooseVersion
|
from distutils.version import LooseVersion
|
||||||
|
|
||||||
import cms
|
import cms
|
||||||
from cms.utils.permissions import current_user
|
|
||||||
|
|
||||||
from .base import BaseTest
|
from .base import BaseTest
|
||||||
|
|
||||||
|
@ -48,6 +47,7 @@ class WizardTest(BaseTest):
|
||||||
@skipIf(LooseVersion(cms.__version__) < LooseVersion('3.2'),
|
@skipIf(LooseVersion(cms.__version__) < LooseVersion('3.2'),
|
||||||
reason='Wizards not available for django CMS < 3.2')
|
reason='Wizards not available for django CMS < 3.2')
|
||||||
def test_wizard_init(self):
|
def test_wizard_init(self):
|
||||||
|
from cms.utils.permissions import current_user
|
||||||
from cms.wizards.wizard_pool import wizard_pool
|
from cms.wizards.wizard_pool import wizard_pool
|
||||||
from djangocms_blog.models import Post
|
from djangocms_blog.models import Post
|
||||||
self.get_pages()
|
self.get_pages()
|
||||||
|
|
Loading…
Reference in a new issue