Replace all instances of component_block with component. Remove duplicate tests.

This commit is contained in:
Emil Stenström 2024-02-11 23:14:43 +01:00 committed by Emil Stenström
parent 48fe8171b4
commit edf3885632
14 changed files with 246 additions and 310 deletions

View file

@ -395,15 +395,15 @@ class ComponentIsolationTests(SimpleTestCase):
template = Template(
"""
{% load component_tags %}
{% component_block "test" %}
{% component "test" %}
{% fill "header" %}Override header{% endfill %}
{% endcomponent_block %}
{% component_block "test" %}
{% endcomponent %}
{% component "test" %}
{% fill "main" %}Override main{% endfill %}
{% endcomponent_block %}
{% component_block "test" %}
{% endcomponent %}
{% component "test" %}
{% fill "footer" %}Override footer{% endfill %}
{% endcomponent_block %}
{% endcomponent %}
"""
)