refactor: remove Django30CompatibleTestCase

This commit is contained in:
Juro Oravec 2024-04-18 13:33:58 +02:00
parent 6478776269
commit eb40afba7b
9 changed files with 45 additions and 58 deletions

View file

@ -9,7 +9,7 @@ from django_components.middleware import ComponentDependencyMiddleware
from .django_test_setup import * # NOQA
from .test_templatetags import SimpleComponent
from .testutils import Django30CompatibleSimpleTestCase as SimpleTestCase
from .testutils import BaseTestCase
from .testutils import create_and_process_template_response
@ -44,7 +44,7 @@ class MultistyleComponent(component.Component):
@override_settings(COMPONENTS={"RENDER_DEPENDENCIES": True})
class ComponentMediaRenderingTests(SimpleTestCase):
class ComponentMediaRenderingTests(BaseTestCase):
def setUp(self):
# NOTE: component.registry is global, so need to clear before each test
component.registry.clear()