Skip to content

Commit

Permalink
Extend test use case
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDuck888 authored Sep 20, 2023
1 parent 41c794d commit 299eb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_dry_run_send(self):

def test_build_message(self):
"""Test for building a valid email."""
msg = notify.build_message(self.config["app"]["smtp"]["email"])
msg = notify.build_message(self.config["app"]["smtp"]["email"], self.config["app"]["smtp"]["email"])
self.assertEqual(msg.to, self.config["app"]["smtp"]["email"])
self.assertIn(self.config["app"]["smtp"]["email"], msg.sender)
self.assertIn("icloud-docker: Two step authentication required", msg.subject)
Expand Down

0 comments on commit 299eb8c

Please sign in to comment.