tmux-amq/tests/test_send_endpoint.py

9 lines
211 B
Python
Raw Normal View History

import json
from tamq.cli import build_parser
def test_send_accepts_endpoint_id():
args = build_parser().parse_args(["send", "--endpoint-id", "ep", "@repo:", "hello"])
assert args.endpoint_id == "ep"