ran make lint-pytest
@@ -4,12 +4,7 @@ from functools import partial as p
import pytest
from helpers.assertions import has_datapoint_with_dim, has_log_message, tcp_socket_open
-from helpers.util import (
- container_ip,
- run_service,
- run_agent,
- wait_for,
-)
+from helpers.util import container_ip, run_service, run_agent, wait_for
pytestmark = [pytest.mark.collectd, pytest.mark.etcd, pytest.mark.monitor_with_endpoints]
@@ -30,7 +25,5 @@ def test_solr_monitor():
assert wait_for(p(tcp_socket_open, host, 8983), 60), "service not listening on port"
with run_agent(config) as [backend, get_output, _]:
- assert wait_for(
- p(has_datapoint_with_dim, backend, "plugin", "solr")
- ), "Didn't get solr datapoints"
+ assert wait_for(p(has_datapoint_with_dim, backend, "plugin", "solr")), "Didn't get solr datapoints"
assert not has_log_message(get_output().lower(), "error"), "error found in agent output!"
