diff options
Diffstat (limited to 'service/test')
-rw-r--r-- | service/test/adapter/mail_service_test.py | 15 | ||||
-rw-r--r-- | service/test/leap/client_test.py | 10 |
2 files changed, 15 insertions, 10 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) diff --git a/service/test/leap/client_test.py b/service/test/leap/client_test.py deleted file mode 100644 index 3f2a869e..00000000 --- a/service/test/leap/client_test.py +++ /dev/null @@ -1,10 +0,0 @@ -import sys -import os -sys.path.insert(0, os.environ['APP_ROOT']) - -from app.leap.client import Client - - -def test_initialization(): - client = Client() - print('Run') |