mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Fixed test data
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user