aboutsummaryrefslogtreecommitdiff
path: root/tests/test_app.py
blob: 6d96fbb251eee7555904bfff3d786c14cfac7c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import unittest

from kerbana import config, create_app


class TestBase(unittest.TestCase):
    def setUp(self):
        test_config = config.TestConfig()
        self.app = create_app(test_config)
        self.client = self.app.test_client()

    def test_root(self):
        res = self.client.get("/")
        self.assertEqual("Hello World!", res.data.decode())