Initial release: cd-browser v0.1.0

This commit is contained in:
2026-03-14 17:21:49 +01:00
commit f03417f2f2
39 changed files with 2351 additions and 0 deletions

18
tests/test_smoke.py Normal file
View File

@@ -0,0 +1,18 @@
from pathlib import Path
import pytest
from app.main import main
def test_main_runs(
monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str]
) -> None:
monkeypatch.setattr("app.main.run_cli", lambda: Path("/tmp/final"))
main()
captured = capsys.readouterr()
assert captured.out == "/tmp/final\n"
assert captured.err == ""