summaryrefslogtreecommitdiff
path: root/tests/unit/test_qt_machinery.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-06-13 19:32:50 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-06-13 19:32:50 +0200
commit1313704802f0bdb84d32ab84ec9e8d4543040108 (patch)
treedca285d72695f0d990536a92e88d60cb2e2c617f /tests/unit/test_qt_machinery.py
parent0175c00d0f7c00dc7447b116b4479344a1c8c205 (diff)
downloadqutebrowser-1313704802f0bdb84d32ab84ec9e8d4543040108.tar.gz
qutebrowser-1313704802f0bdb84d32ab84ec9e8d4543040108.zip
qt: Add wrapper info to backendproblem messages
Diffstat (limited to 'tests/unit/test_qt_machinery.py')
-rw-r--r--tests/unit/test_qt_machinery.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/test_qt_machinery.py b/tests/unit/test_qt_machinery.py
index 79f21308e..eb2f6fa1e 100644
--- a/tests/unit/test_qt_machinery.py
+++ b/tests/unit/test_qt_machinery.py
@@ -114,6 +114,7 @@ def test_selectioninfo_set_module():
)
def test_selectioninfo_str(info: machinery.SelectionInfo, expected: str):
assert str(info) == expected
+ assert info.to_html() == expected.replace("\n", "<br>")
@pytest.fixture