Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a03397-4d51-7fd1-8ff2-946eb22ea2bc
This commit is contained in:
parent
788eb8e2ed
commit
92881b6b56
35 changed files with 1206 additions and 806 deletions
|
|
@ -6,6 +6,9 @@ from tamq.cli import main
|
|||
def test_config_command(monkeypatch, capsys, tmp_path):
|
||||
monkeypatch.setenv("TAMQ_STATE_DIR", str(tmp_path / "state"))
|
||||
assert main(["config"]) == 0
|
||||
output = json.loads(capsys.readouterr().out)
|
||||
assert output["database"].endswith("tamq.sqlite3")
|
||||
assert output["policy_profile"] == "default"
|
||||
result = json.loads(capsys.readouterr().out)
|
||||
assert result["maxmsg"] == 8
|
||||
assert result["maxin"] == 1024
|
||||
assert result["maxout"] == 32768
|
||||
assert result["database"].endswith("tamq.sqlite3")
|
||||
assert result["policy_profile"] == "default"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue