From 3a72188548113cc7bbad9294b762d79e5b90a332 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 15 Oct 2024 16:07:47 +0000 Subject: [PATCH] test(test_qr_setup_contact_svg): stop testing for no display name It is impossible to set no display name anyway in Delta Chat Android at least because we don't want email addresses in the UI. This test does not work with long domains that may get wrapped, so better remove it instead of trying to prevent wrapping of domains. --- deltachat-rpc-client/tests/test_securejoin.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/deltachat-rpc-client/tests/test_securejoin.py b/deltachat-rpc-client/tests/test_securejoin.py index 57dc06d9d..70dcdb60a 100644 --- a/deltachat-rpc-client/tests/test_securejoin.py +++ b/deltachat-rpc-client/tests/test_securejoin.py @@ -44,13 +44,6 @@ def test_qr_setup_contact_svg(acfactory) -> None: _qr_code, svg = alice.get_qr_code_svg() - # Test that email address is in SVG - # when we have no display name. - # Check only the domain name, because - # long address may be split over multiple lines - # and not matched. - assert domain in svg - alice.set_config("displayname", "Alice") # Test that display name is used