@@ -38,8 +38,8 @@ def test_add_second_address(acfactory) -> None:
3838 with pytest .raises (JsonRpcError ):
3939 account .set_config (option , "1" )
4040
41- with pytest . raises ( JsonRpcError ):
42- account .set_config ("show_emails" , "0" )
41+ # show_emails does not matter for multi-relay, can be set to anything
42+ account .set_config ("show_emails" , "0" )
4343
4444
4545@pytest .mark .parametrize ("key" , ["mvbox_move" , "only_fetch_mvbox" ])
@@ -58,8 +58,8 @@ def test_no_second_transport_with_mvbox(acfactory, key) -> None:
5858 account .add_transport_from_qr (qr )
5959
6060
61- def test_no_second_transport_without_classic_emails (acfactory ) -> None :
62- """Test that second transport cannot be configured if classic emails are not fetched."""
61+ def test_second_transport_without_classic_emails (acfactory ) -> None :
62+ """Test that second transport can be configured if classic emails are not fetched."""
6363 account = acfactory .new_configured_account ()
6464 assert len (account .list_transports ()) == 1
6565
@@ -68,8 +68,7 @@ def test_no_second_transport_without_classic_emails(acfactory) -> None:
6868 qr = acfactory .get_account_qr ()
6969 account .set_config ("show_emails" , "0" )
7070
71- with pytest .raises (JsonRpcError ):
72- account .add_transport_from_qr (qr )
71+ account .add_transport_from_qr (qr )
7372
7473
7574def test_change_address (acfactory ) -> None :
0 commit comments