fix: typo in html_attrs defaults dict fetching (#513)

Co-authored-by: Juro Oravec <juraj.oravec.josefson@gmail.com>
This commit is contained in:
Zach Bellay 2024-05-29 23:29:57 -07:00 committed by GitHub
parent 95f6554f4c
commit 0101f6dae6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 8 deletions

View file

@ -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")