mirror of
https://github.com/django-components/django-components.git
synced 2025-11-25 16:39:11 +00:00
Use single quotes for all templates, we might need double quotes inside later.
This commit is contained in:
parent
5cfd5d2ec7
commit
a2e829f8af
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ class ComponentTemplateTagTest(unittest.TestCase):
|
|||
def test_component_dependencies(self):
|
||||
component.registry.register(name="test", component=SimpleComponent)
|
||||
|
||||
template = Template("{% load component_tags %}{% component_dependencies %}")
|
||||
template = Template('{% load component_tags %}{% component_dependencies %}')
|
||||
rendered = template.render(Context())
|
||||
self.assertEqual(rendered, dedent("""
|
||||
<link href="style.css" type="text/css" media="all" rel="stylesheet" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue