feat: add basic "create order" feature, docs, tests
just the package API docs so far, narrative will come later
This commit is contained in:
parent
89265f0240
commit
ef07d30a85
86 changed files with 7749 additions and 35 deletions
17
tests/test_config.py
Normal file
17
tests/test_config.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
|
||||
from unittest import TestCase
|
||||
|
||||
from wuttjamaican.conf import WuttaConfig
|
||||
|
||||
from sideshow import config as mod
|
||||
|
||||
|
||||
class TestSideshowConfig(TestCase):
|
||||
|
||||
def test_configure(self):
|
||||
config = WuttaConfig(files=[])
|
||||
ext = mod.SideshowConfig()
|
||||
ext.configure(config)
|
||||
self.assertEqual(config.get('wutta.app_title'), "Sideshow")
|
||||
self.assertEqual(config.get('wutta.app_dist'), "Sideshow")
|
Loading…
Add table
Add a link
Reference in a new issue