from grid.ui.pattern import Pattern class TestPattern: def test_position(self): p = Pattern(0, 0) assert len(p.childItems()) > 0