refactor: add ErrorFallback (#1433)

This commit is contained in:
Juro Oravec 2025-10-04 09:07:29 +02:00 committed by GitHub
parent eee3910b54
commit 60651f30b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 603 additions and 11 deletions

View file

@ -250,6 +250,7 @@ class TestComponentFiles:
"components.urls",
"django_components.components",
"django_components.components.dynamic",
"django_components.components.error_fallback",
"tests.test_app.components.app_lvl_comp.app_lvl_comp",
]
@ -264,7 +265,8 @@ class TestComponentFiles:
assert file_paths[7].parts[-3:] == ("tests", "components", "urls.py")
assert file_paths[8].parts[-3:] == ("django_components", "components", "__init__.py")
assert file_paths[9].parts[-3:] == ("django_components", "components", "dynamic.py")
assert file_paths[10].parts[-5:] == ("tests", "test_app", "components", "app_lvl_comp", "app_lvl_comp.py")
assert file_paths[10].parts[-3:] == ("django_components", "components", "error_fallback.py")
assert file_paths[11].parts[-5:] == ("tests", "test_app", "components", "app_lvl_comp", "app_lvl_comp.py")
@djc_test(
django_settings={