<reponame>ssins/PPE-detection
from unittest import TestCase

from notification import NotificationService


class TestNotificationService(TestCase):
    def test_notify(self):
        username = '<EMAIL>'
        password = '<PASSWORD>'
        host = 'smtp.gmail.com'
        port = 587

        noti = NotificationService(host, port, username, password, False)
        noti.notify(0, '<EMAIL>', 'Unit Test')


from unittest import TestCase

from notification import NotificationService


class TestNotificationService(TestCase):
    def test_notify(self):
        username = '<EMAIL>'
        password = '<PASSWORD>'
        host = 'smtp.gmail.com'
        port = 587

        noti = NotificationService(host, port, username, password, False)
        noti.notify(0, '<EMAIL>', 'Unit Test')