    def test_divider(self):
        """
        Check Divider widget sundry features work.
        """
        # 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([100], fill_frame=True)
        form.add_layout(layout)
        divider = Divider(draw_line=False, height=7)
        layout.add_widget(divider)
        form.fix()
        scene.add_effect(form)
        form.reset()

        # Check events are ignored
        event = object()
        self.assertEqual(event, divider.process_event(event))

        # Check value is None
        self.assertIsNone(divider.value)
Check Divider widget sundry features work.
tests/test_widgets.py