diff --git a/tests/test_field.py b/tests/test_field.py index d6b95fae..fe8d504b 100644 --- a/tests/test_field.py +++ b/tests/test_field.py @@ -1,4 +1,3 @@ -from unittest import skipIf from django.template import Context, Template from django.utils.safestring import SafeData diff --git a/tests/test_html.py b/tests/test_html.py index 81be2cf6..2db43ffb 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -1,4 +1,3 @@ -from cms.api import create_page from cms.test_utils.testcases import CMSTestCase from djangocms_text import html, settings diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 4d122b3a..9c031ed5 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -2,7 +2,6 @@ import json import re import unittest -from unittest import skipIf from urllib.parse import unquote from django.conf import settings @@ -975,7 +974,7 @@ def test_url_query(self): endpoint = admin_reverse('djangocms_text_textplugin_get_available_urls') with self.login_user_context(self.superuser): - result = self.client.get(endpoint + f'?q=test') + result = self.client.get(endpoint + '?q=test') self.assertEqual( result.json()["results"],