def test_format_props(props: dict[str, Var], test_props: list):
    """Test that the formatted props are correct.

    Args:
        props: The props to test.
        test_props: The expected props.
    """
    tag_props = Tag(props=props).format_props()
    for i, tag_prop in enumerate(tag_props):
        assert tag_prop == test_props[i]
Test that the formatted props are correct.

    Args:
        props: The props to test.
        test_props: The expected props.
    
tests/units/components/test_tag.py