fix: add docs, tests; tweak some handler method signatures

This commit is contained in:
Lance Edgar 2025-01-12 01:10:52 -06:00
parent e4a4e85cf6
commit d11e186df9
16 changed files with 345 additions and 15 deletions

16
tests/test_app.py Normal file
View 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)