Accept ADR-001: Python 3.12, FastAPI, Postgres/SQLAlchemy async, src layout, uv/hatchling, pytest. Scaffold package, rmgr CLI stub, and version tests.
11 lines
248 B
Python
11 lines
248 B
Python
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
|