#!flask/bin/python
import unittest

from app.server import app
from fetch_emails import get_credentials


def add(a, b):
    return a + b


class TestCase(unittest.TestCase):
    def setUp(self):
        app.config['TESTING'] = True
        self.app = app.test_client()

    def tearDown(self):
        pass

    def test_add(self):
        self.assertEqual(add(1, 2), 3)


if __name__ == '__main__':
    unittest.main()