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

@ -6,7 +6,7 @@ from django.test import override_settings
from django_components import component
from django_components.middleware import CSS_DEPENDENCY_PLACEHOLDER, JS_DEPENDENCY_PLACEHOLDER
from tests.django_test_setup import * # NOQA
from tests.testutils import Django30CompatibleSimpleTestCase as SimpleTestCase
from tests.testutils import BaseTestCase
from tests.testutils import create_and_process_template_response
@ -67,7 +67,7 @@ EXPECTED_JS = """<script src="test.js"></script>"""
@override_settings(COMPONENTS={"RENDER_DEPENDENCIES": True})
class RenderBenchmarks(SimpleTestCase):
class RenderBenchmarks(BaseTestCase):
def setUp(self):
component.registry.clear()
component.registry.register("test_component", SlottedComponent)