docs(RMGR-WP-0001): complete T04 implementation foundation
Accept ADR-001: Python 3.12, FastAPI, Postgres/SQLAlchemy async, src layout, uv/hatchling, pytest. Scaffold package, rmgr CLI stub, and version tests.
This commit is contained in:
parent
3fa8d0b4c4
commit
e02f5a258a
9 changed files with 342 additions and 7 deletions
11
tests/test_version.py
Normal file
11
tests/test_version.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from repo_manager import __version__
|
||||
from repo_manager.cli import main
|
||||
|
||||
|
||||
def test_version_string():
|
||||
assert __version__ == "0.1.0"
|
||||
|
||||
|
||||
def test_cli_version(capsys):
|
||||
assert main(["--version"]) == 0
|
||||
assert "0.1.0" in capsys.readouterr().out
|
||||
Loading…
Add table
Add a link
Reference in a new issue