diff --git a/tests/tests/templatetags/test_vite_asset.py b/tests/tests/templatetags/test_vite_asset.py index 0a2039f..1ed16b7 100644 --- a/tests/tests/templatetags/test_vite_asset.py +++ b/tests/tests/templatetags/test_vite_asset.py @@ -220,10 +220,13 @@ def test_vite_asset_kebab_attribute(): """ {% load django_vite %} {% vite_asset "src/entry.ts" json_encoded_attributes=json_encoded_attributes %} - """) - html = template.render(Context({ - "json_encoded_attributes": SafeString(json.dumps(additional_attributes)) - })) + """ + ) + html = template.render( + Context( + {"json_encoded_attributes": SafeString(json.dumps(additional_attributes))} + ) + ) soup = BeautifulSoup(html, "html.parser") script_tag = soup.find("script") assert script_tag["data-item-track"] == "reload"