django-components/tests
Oliver Haas e0b718c314
test: test to illustrate bug in component caching when using include tag (#1135)
* test: test to illustrate bug in component caching when using include tag

* fix: add cleanup for render context in component rendering

* refactor: clarify cleanup comment in component rendering logic

* refactor: fix linter errors

* test: formatting and unnecessary test setup

---------

Co-authored-by: Juro Oravec <juraj.oravec.josefson@gmail.com>
2025-04-20 11:53:06 +02:00
..
__snapshots__ refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
components feat: component URL (#1088) 2025-04-07 10:44:41 +02:00
e2e feat: Add support for HTML fragments (#845) 2024-12-19 10:03:35 +01:00
static_root feat: allow to set main JS and CSS from files + lazy-load component m… (#870) 2024-12-30 18:00:46 +01:00
templates test: test to illustrate bug in component caching when using include tag (#1135) 2025-04-20 11:53:06 +02:00
test_app refactor: Assign content of file from Component.template_file to Component.template (#880) 2025-01-07 19:34:34 +01:00
test_app_nested fix: autoimport with nested apps (#672) 2024-09-14 22:47:30 +02:00
test_structures/test_structure_1 refactor: Prepare autodiscover and template loader for v1 (#533) 2024-07-29 20:27:35 +02:00
__init__.py A simple ComponentRegistry to store components. 2015-06-11 20:42:16 +02:00
conftest.py feat: add JS dependency manager (#666) 2024-09-22 16:42:41 +02:00
test_attributes.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_autodiscover.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_benchmark_django.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_benchmark_django_small.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_benchmark_djc.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_benchmark_djc_small.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_cache.py feat: expose _class_hash as class_id (#1094) 2025-04-07 11:08:02 +02:00
test_command_components.py feat: allow extensions to add commands (#1017) 2025-03-16 12:03:16 +01:00
test_command_create.py feat: allow extensions to add commands (#1017) 2025-03-16 12:03:16 +01:00
test_command_ext.py feat: component caching (#1097) 2025-04-08 11:54:39 +02:00
test_command_list.py feat: add a command to list all components (#1041) 2025-03-19 09:38:25 +01:00
test_component.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_component_cache.py test: test to illustrate bug in component caching when using include tag (#1135) 2025-04-20 11:53:06 +02:00
test_component_defaults.py feat: allow to set defaults (#1072) 2025-03-31 10:38:41 +02:00
test_component_highlight.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_component_media.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_component_url.py refactor: fix - allow components with Url.public to be defined before django.setup() (#1112) 2025-04-09 18:31:07 +02:00
test_context.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_dependencies.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_dependency_manager.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_dependency_rendering.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_dependency_rendering_e2e.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_expression.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_extension.py refactor: use typevar defaults + raise on conflicting extensions (#1125) 2025-04-14 10:00:18 +02:00
test_extension_view.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_finders.py refactor: fix compat with Django 5.2 Finder.find() (#1121) 2025-04-12 09:35:33 +02:00
test_html_parser.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_loader.py feat: allow globs when specifynigg additionall JS and CSS (#1043) 2025-03-21 10:23:38 +01:00
test_node.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_registry.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_settings.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_signals.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_tag_formatter.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_tag_parser.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_template.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_template_parser.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
test_templatetags.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_templatetags_component.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_templatetags_extends.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_templatetags_provide.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_templatetags_slot_fill.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_templatetags_templating.py refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
test_utils.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00
testutils.py feat: add decorator for writing component tests (#1008) 2025-03-02 19:46:12 +01:00