Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matteoopenf committed Jan 29, 2025
1 parent 0a4dc2d commit 5c60ef4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mail_outbound_static/tests/test_ir_mail_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def test_05_from_outgoing_server_none_same_domain(self):
def test_06_from_outgoing_server_no_name_from(self):
self._init_mail_server_domain_whilelist_based()
domain = "example.com"
email_from = "test@%s" % domain
email_from = f"test@{domain}"
expected_mail_server = self.mail_server_domainone

self.message.replace_header("From", email_from)
Expand All @@ -295,7 +295,7 @@ def test_06_from_outgoing_server_no_name_from(self):
def test_07_from_outgoing_server_multidomain_1(self):
self._init_mail_server_domain_whilelist_based()
domain = "domainthree.com"
email_from = "Mitchell Admin <admin@%s>" % domain
email_from = f"Mitchell Admin <admin@{domain}>"
expected_mail_server = self.mail_server_domainthree

self.message.replace_header("From", email_from)
Expand All @@ -318,7 +318,7 @@ def test_07_from_outgoing_server_multidomain_1(self):
def test_08_from_outgoing_server_multidomain_3(self):
self._init_mail_server_domain_whilelist_based()
domain = "domainmulti.com"
email_from = "test@%s" % domain
email_from = f"test@{domain}"
expected_mail_server = self.mail_server_domainthree

self.message.replace_header("From", email_from)
Expand Down

0 comments on commit 5c60ef4

Please sign in to comment.