mirror of
https://github.com/django-components/django-components.git
synced 2025-11-20 06:45:32 +00:00
Use simpler component name.
This commit is contained in:
parent
005460543b
commit
5cfd5d2ec7
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class SimpleComponent(component.Component):
|
|||
|
||||
class ComponentTemplateTagTest(unittest.TestCase):
|
||||
def test_component_dependencies(self):
|
||||
component.registry.register(name="testcomponent", component=SimpleComponent)
|
||||
component.registry.register(name="test", component=SimpleComponent)
|
||||
|
||||
template = Template("{% load component_tags %}{% component_dependencies %}")
|
||||
rendered = template.render(Context())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue