A refresh of the grandchild node should cause a subsequent render call.
()
| 55 | assert (1, 1) in pilot.app.query_one(HistoryTree).render_hits |
| 56 | |
| 57 | async def test_grandchild_refresh() -> None: |
| 58 | """A refresh of the grandchild node should cause a subsequent render call.""" |
| 59 | async with RefreshApp().run_test() as pilot: |
| 60 | assert (2, 1) not in pilot.app.query_one(HistoryTree).render_hits |
| 61 | pilot.app.query_one(HistoryTree).counter += 1 |
| 62 | pilot.app.query_one(HistoryTree).root.children[0].children[0].refresh() |
| 63 | await pilot.pause() |
| 64 | assert (2, 1) in pilot.app.query_one(HistoryTree).render_hits |
nothing calls this directly
no test coverage detected
searching dependent graphs…