feat: add basic "create order" feature, docs, tests

just the package API docs so far, narrative will come later
This commit is contained in:
Lance Edgar 2025-01-06 17:03:41 -06:00
parent 89265f0240
commit ef07d30a85
86 changed files with 7749 additions and 35 deletions

0
tests/cli/__init__.py Normal file
View file

18
tests/cli/test_install.py Normal file
View file

@ -0,0 +1,18 @@
# -*- coding: utf-8; -*-
from unittest.mock import MagicMock, patch
from wuttjamaican.testing import ConfigTestCase
from wuttjamaican.install import InstallHandler
from sideshow.cli import install as mod
class TestInstall(ConfigTestCase):
def test_run(self):
ctx = MagicMock(params={})
ctx.parent.wutta_config = self.config
with patch.object(InstallHandler, 'run') as run:
mod.install(ctx)
run.assert_called_once_with()