mirror of
https://github.com/django-components/django-components.git
synced 2025-08-28 09:54:07 +00:00
fix: typo in html_attrs defaults dict fetching (#513)
Co-authored-by: Juro Oravec <juraj.oravec.josefson@gmail.com>
This commit is contained in:
parent
95f6554f4c
commit
0101f6dae6
2 changed files with 10 additions and 8 deletions
|
@ -274,12 +274,11 @@ class HtmlAttrsTests(BaseTestCase):
|
|||
self.assertHTMLEqual(
|
||||
rendered,
|
||||
"""
|
||||
<div class="added_class another-class" data-id=123>
|
||||
<div class="added_class another-class override-me" data-id=123>
|
||||
content
|
||||
</div>
|
||||
""",
|
||||
)
|
||||
self.assertNotIn("override-me", rendered)
|
||||
|
||||
def test_tag_no_defaults(self):
|
||||
@component.register("test")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue