feat: add config option to show/hide Store ID; default value

This commit is contained in:
Lance Edgar 2025-01-27 20:33:14 -06:00
parent 3ef84ff706
commit 89e3445ace
19 changed files with 445 additions and 64 deletions

17
tests/test_app.py Normal file
View file

@ -0,0 +1,17 @@
# -*- coding: utf-8; -*-
from wuttjamaican.testing import ConfigTestCase
from sideshow import app as mod
from sideshow.orders import OrderHandler
class TestSideshowAppProvider(ConfigTestCase):
def make_provider(self):
return mod.SideshowAppProvider(self.config)
def test_get_order_handler(self):
provider = self.make_provider()
handler = provider.get_order_handler()
self.assertIsInstance(handler, OrderHandler)