9 lines
211 B
Python
9 lines
211 B
Python
|
|
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"
|