Fixed test data

This commit is contained in:
Antoine Nguyen
2025-09-05 16:46:33 +02:00
parent 5522676a12
commit 5c0122cca7
2 changed files with 2 additions and 2 deletions
@@ -7,7 +7,7 @@ incorrect We need to verify your account information in order to continue
using your Apple ID, Please Verify your account information by clicking on the
link below
**Click here to Verify your ID**
**Click here to Verify your ID**
Thanks for choosing Apple,
Apple Team
+1 -1
View File
@@ -35,7 +35,7 @@ class EmailTests(TestCase):
"""
def _get_expected_output(self, message_id, **kwargs):
ext = kwargs["dformat"] if "dformat" in kwargs else "plain"
ext = kwargs.get("dformat", "plain")
ext += "_links" if "links" in kwargs and kwargs["links"] else "_nolinks"
message_path = os.path.join(SAMPLES_DIR, f"{message_id}-output-{ext}.txt")
assert os.path.isfile(message_path), f"{message_path} does not exist."