def test_clipboard_display_multiple_changes(clipboard_manager):
    """Just need this test to cover last lines in hook_change."""
    widget = clipboard_manager.c.widget["clipboard"]
    assert widget.info()["text"] == ""

    fake_hook = textwrap.dedent(
        """
        from libqtile import hook

        sel = {"owner": 12345, "selection": "Test Clipboard"}
        sel_b = {"owner": 12345, "selection": "Second Selection"}

        hook.fire("selection_change", "CLIPBOARD", sel)
        hook.fire("selection_change", "CLIPBOARD", sel_b)
    """
    )

    clipboard_manager.c.eval(fake_hook)

    # Default setting is to limit display to 10 chars
    assert widget.info()["text"] == "Second Sel..."
Just need this test to cover last lines in hook_change.
test/widgets/test_clipboard.py