mirror of
https://github.com/django-components/django-components.git
synced 2025-08-03 22:08:17 +00:00
Remove unnecessary function
This commit is contained in:
parent
bb639d45c6
commit
5c2b7eb640
1 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue