fix: add docs, tests; tweak some handler method signatures
This commit is contained in:
parent
e4a4e85cf6
commit
d11e186df9
16 changed files with 345 additions and 15 deletions
16
tests/test_app.py
Normal file
16
tests/test_app.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
|
||||
from wuttjamaican.testing import ConfigTestCase
|
||||
|
||||
from wutta_corepos import app as mod
|
||||
from wutta_corepos.handler import CoreposHandler
|
||||
|
||||
|
||||
class TestWuttaCoreposAppProvider(ConfigTestCase):
|
||||
|
||||
def make_provider(self):
|
||||
return mod.WuttaCoreposAppProvider(self.config)
|
||||
|
||||
def test_get_report_handler(self):
|
||||
handler = self.app.get_corepos_handler()
|
||||
self.assertIsInstance(handler, CoreposHandler)
|
Loading…
Add table
Add a link
Reference in a new issue