(self, sample_layout)
| 44 | |
| 45 | class TestFindComponent: |
| 46 | def test_finds_by_string_id(self, sample_layout): |
| 47 | comp = find_component("deep-child", layout=sample_layout) |
| 48 | assert comp is not None and comp.id == "deep-child" |
| 49 | |
| 50 | def test_returns_none_for_missing_id(self, sample_layout): |
| 51 | assert find_component("nope", layout=sample_layout) is None |
nothing calls this directly
no test coverage detected