    def test_layout_gutters(self):
        """
        Validate that the gutters parameter works for Layouts
        """
        # Now set up the Frame ready for testing
        screen = MagicMock(spec=Screen, colours=8, unicode_aware=False)
        scene = Scene([], duration=-1)
        canvas = Canvas(screen, 10, 40, 0, 0)
        form = Frame(canvas, canvas.height, canvas.width)
        layout = Layout([18, 4, 18], gutter=3)
        form.add_layout(layout)

        #       0
        text = "ABCDEFGHIJKLMNOP"

        box1 = TextBox(1)
        box1.value = [text]
        layout.add_widget(box1, 0)

        box2 = TextBox(1)
        box2.value = [text]
        layout.add_widget(box2, 1)

        box3 = TextBox(1)
        box3.value = [text]
        layout.add_widget(box3, 2)

        form.fix()
        scene.add_effect(form)
        scene.reset()

        # Check that the frame is rendered correctly.
        for effect in scene.effects:
            effect.update(0)

        self.assert_canvas_equals(
            canvas,
            "+--------------------------------------+\n" +
            "|DEFGHIJKLMNOP    OP    DEFGHIJKLMNOP  |\n" +
            "|                                      O\n" +
            "|                                      |\n" +
            "|                                      |\n" +
            "|                                      |\n" +
            "|                                      |\n" +
            "|                                      |\n" +
            "|                                      |\n" +
            "+--------------------------------------+\n")
Validate that the gutters parameter works for Layouts
tests/test_widgets.py