8 lines
244 B
Python
8 lines
244 B
Python
|
|
from tamq.tmux import Endpoint
|
||
|
|
|
||
|
|
|
||
|
|
def test_endpoint_instance_key():
|
||
|
|
endpoint = Endpoint("tamq", 42, ["net-kingdom"], "tmux-amq-42-boot")
|
||
|
|
assert endpoint.endpoint_id == "tmux-amq-42"
|
||
|
|
assert endpoint.instance_key == "tmux-amq-42-boot"
|