This commit is contained in:
parent
e3ecb66a70
commit
82822ec337
@ -25,4 +25,4 @@ def test_mosquitto_socket(host):
|
|||||||
inventory = yaml.load(open(host.backend.ansible_inventory))
|
inventory = yaml.load(open(host.backend.ansible_inventory))
|
||||||
address = inventory['all']['hosts']['bind_host']['ansible_host']
|
address = inventory['all']['hosts']['bind_host']['ansible_host']
|
||||||
assert host.socket(
|
assert host.socket(
|
||||||
"tcp://{address}:8883".format(address=address).is_listening
|
"tcp://{address}:8883".format(address=address)).is_listening
|
||||||
|
Loading…
Reference in New Issue
Block a user