Remove unnecessary function

This commit is contained in:
Dylan Castillo 2024-01-30 08:23:21 +01:00 committed by Emil Stenström
parent bb639d45c6
commit 5c2b7eb640

View file

@ -1,5 +1,6 @@
from pathlib import Path
from django.template.engine import Engine
from django.urls import include, path
# isort: off
@ -7,7 +8,6 @@ from .django_test_setup import * # noqa
from .testutils import Django30CompatibleSimpleTestCase as SimpleTestCase
# isort: on
from django.template.engine import Engine
from django_components import autodiscover, component
from django_components.template_loader import Loader
@ -33,13 +33,6 @@ class TestAutodiscover(SimpleTestCase):
)
def side_effect(*args, **kwargs):
print(args, "***")
print(kwargs, "***")
if args[0] == "tests.test_autodiscover":
return True
class TestLoaderSettingsModule(SimpleTestCase):
def tearDown(self) -> None:
del settings.SETTINGS_MODULE # noqa