diff --git a/tests/fixtures.py b/tests/fixtures.py index ec8ffdc2..5bf78919 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -2,6 +2,7 @@ from cms import __version__ + DJANGO_CMS4 = not (__version__ < "4") DJANGOCMS_VERSIONING = apps.is_installed("djangocms_versioning") diff --git a/tests/test_plugins.py b/tests/test_plugins.py index e1ef543b..b2c5302c 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -9,8 +9,8 @@ from djangocms_link.cms_plugins import LinkPlugin from djangocms_link.models import AbstractLink -from .helpers import get_filer_file from .fixtures import TestFixture +from .helpers import get_filer_file class LinkPluginsTestCase(TestFixture, CMSTestCase):