639b0de8b1
not really tested yet though, other than unit tests
18 lines
389 B
Python
18 lines
389 B
Python
# -*- coding: utf-8; -*-
|
|
|
|
from unittest import TestCase
|
|
|
|
from wuttjamaican import auth as mod
|
|
from wuttjamaican.conf import WuttaConfig
|
|
|
|
|
|
class TestAuthHandler(TestCase):
|
|
|
|
def setUp(self):
|
|
self.config = WuttaConfig()
|
|
self.app = self.config.get_app()
|
|
|
|
def test_basic(self):
|
|
handler = mod.AuthHandler(self.config)
|
|
self.assertIs(handler.app, self.app)
|