- uv workspace tying nisse-core, nisse-dev, nisse-ops together (src layouts, workspace-sourced nisse-core dependency) - Placeholder hello-world entry points for both agents, calling through nisse-core to exercise the package boundary - pytest unit tests per package; integration tests (marker-gated) running the installed console scripts as subprocesses - ruff lint + format, nisse_* declared first-party - Gitea Actions workflow running lint, format check, unit and integration tests; scripts/check.sh mirrors it locally Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
11 lines
242 B
Python
11 lines
242 B
Python
import pytest
|
|
|
|
from nisse_dev.main import main
|
|
|
|
|
|
def test_main_prints_greeting(capsys: pytest.CaptureFixture[str]) -> None:
|
|
main()
|
|
assert (
|
|
capsys.readouterr().out == "Hello from nisse-dev, the house spirit is awake.\n"
|
|
)
|