summaryrefslogtreecommitdiff
path: root/service/test/adapter
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/adapter')
-rw-r--r--service/test/adapter/mail_service_test.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/service/test/adapter/mail_service_test.py b/service/test/adapter/mail_service_test.py
new file mode 100644
index 00000000..9f0ac616
--- /dev/null
+++ b/service/test/adapter/mail_service_test.py
@@ -0,0 +1,15 @@
+import sys
+import os
+import unittest
+
+from app.adapter.mail_service import MailService
+
+class TestMailService(unittest.TestCase):
+
+ def test_initialization(self):
+ mail_service = MailService()
+
+ def test_receive_mail(self):
+ mail_service = MailService()
+ mails = mail_service.mails("")
+ self.assertIsNotNone(mails)