def test_get_props(component1, component2):
    """Test that the props are set correctly.

    Args:
        component1: A test component.
        component2: A test component.
    """
    assert component1.get_props() == {"text", "number", "text_or_number"}
    assert component2.get_props() == {"arr", "on_prop_event"}
Test that the props are set correctly.

    Args:
        component1: A test component.
        component2: A test component.
    
tests/units/components/test_component.py