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