feat: add config option to show/hide Store ID; default value
This commit is contained in:
parent
3ef84ff706
commit
89e3445ace
19 changed files with 445 additions and 64 deletions
17
tests/test_app.py
Normal file
17
tests/test_app.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue