Skip to content

Commit 25f4f5d

Browse files
committed
Remove more unnecessary logging
1 parent c890d52 commit 25f4f5d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

slip39/communications_test.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@
6060
6161
""" )
6262

63-
log.warning( f"Using DKIM: {dkim_selector}: {dkim_key}" )
64-
6563

6664
def test_communications_matchaddr():
6765
assert matchaddr( "abc+def@xyz", mailbox="abc", domain="xyz" ) == ("abc", "def", "xyz")
@@ -76,6 +74,7 @@ def test_communications_matchaddr():
7674

7775

7876
def test_communications_dkim():
77+
log.info( f"Using DKIM: {dkim_selector}: {dkim_key}" )
7978
if dkim_key:
8079
msg = dkim_message(
8180
sender_email = SMTP_FROM, # Message From: specifies claimed sender
@@ -132,7 +131,7 @@ def test_communications_dkim():
132131
)
133132
except Exception as exc:
134133
# This may fail (eg. if you have no access to networking), so we don't check.
135-
log.warning( f"Failed to send DKIM-validated email to {SMTP_TO}: {exc}" )
134+
log.warning( f"(Expected, if no networking): Failed to send DKIM-validated email to {SMTP_TO}: {exc}" )
136135
pass
137136

138137

0 commit comments

Comments
 (0)