From 05ef1d5c2adf6d88a8145a7373118691b0875693 Mon Sep 17 00:00:00 2001 From: Filip Weidemann Date: Mon, 22 Jul 2024 11:43:17 +0200 Subject: [PATCH] fix: isort the tests/ directory --- tests/fixtures.py | 1 + tests/test_plugins.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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):