fix flake8
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-06-10 16:19:04 +02:00
parent 7cccd67dc7
commit fda2e19c49

View File

@ -23,4 +23,5 @@ def test_mosquitto_running_and_enabled(host):
def test_mosquitto_socket(host):
# Verify the socket is listening for HTTP traffic
ansible_vars = host.ansible.get_variables()
assert host.socket("tcp://{}:8883".format(ansible_vars['ansible_default_ipv4']['address'])).is_listening
assert host.socket("tcp://{}:8883".format(
ansible_vars['ansible_default_ipv4']['address'])).is_listening