diff --git a/tests/test_notify.py b/tests/test_notify.py index d9bdab455..e8c19ac39 100644 --- a/tests/test_notify.py +++ b/tests/test_notify.py @@ -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)