ef07d30a85
just the package API docs so far, narrative will come later
18 lines
443 B
Python
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")
|