mirror of
https://github.com/django-components/django-components.git
synced 2025-10-17 09:17:10 +00:00
Replace all instances of component_block with component. Remove duplicate tests.
This commit is contained in:
parent
48fe8171b4
commit
edf3885632
14 changed files with 246 additions and 310 deletions
|
@ -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 %}
|
||||
"""
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue