diff --git a/tests/basic_rendering_test.py b/tests/basic_rendering_test.py index f2a23ce..c15d2c9 100644 --- a/tests/basic_rendering_test.py +++ b/tests/basic_rendering_test.py @@ -116,6 +116,17 @@ def test_call_adds_mixed_attrs_children_link(): ]) +def test_call_adds_mixed_attrs_children_script(): + """Calling a tag adds more properties, using a script tag""" + assert str( + script(type="blah/blah")("// Some JS") + ) == "\n".join([ + '', + ]) + + def test_tags_with_trailing_undercore_render_without(): """ Some tags have a trailing underscore to avoid name collisions. When