sideshow/tests/test_config.py
Lance Edgar ef07d30a85 feat: add basic "create order" feature, docs, tests
just the package API docs so far, narrative will come later
2025-01-06 17:03:41 -06:00

18 lines
443 B
Python

# -*- 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")