tmux-amq/tests/test_config_paths.py
tegwick 4d915a2617
Some checks failed
tamq-ci / test (push) Failing after 36s
Bootstrap tamq local tmux agent message queue
Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02f34-ead4-7a60-85cd-d7f08e22fa0e
2026-08-24 01:18:40 +02:00

6 lines
206 B
Python

from tamq.config import lock_path
def test_lock_path_override(monkeypatch, tmp_path):
monkeypatch.setenv("TAMQ_LOCKFILE", str(tmp_path / "tamq.lock"))
assert lock_path() == tmp_path / "tamq.lock"