Test that the hash of a custom component is correct. Args: my_component: A test custom component.
(my_component)
| 452 | |
| 453 | |
| 454 | def test_custom_component_hash(my_component): |
| 455 | """Test that the hash of a custom component is correct. |
| 456 | |
| 457 | Args: |
| 458 | my_component: A test custom component. |
| 459 | """ |
| 460 | component1 = CustomComponent(component_fn=my_component, prop1="test", prop2=1) |
| 461 | component2 = CustomComponent(component_fn=my_component, prop1="test", prop2=2) |
| 462 | assert {component1, component2} == {component1} |
| 463 | |
| 464 | |
| 465 | def test_custom_component_wrapper(): |
nothing calls this directly
no test coverage detected