Skip to content

Commit

Permalink
mage check
Browse files Browse the repository at this point in the history
  • Loading branch information
harnish-elastic committed Mar 26, 2024
1 parent 78a997b commit 16f9aee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metricbeat/module/consul/test_consul.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ def test_output(self):
print(consul_agent)
self.assertCountEqual(self.de_dot(AGENT_FIELDS), consul_agent.keys())

assert(consul_agent["runtime"]["heap_objects"] > 0)
assert (consul_agent["runtime"]["heap_objects"] > 0)

self.assert_fields_are_documented(evt)
2 changes: 1 addition & 1 deletion metricbeat/tests/system/test_autodiscover_jolokia.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def test_jolokia_jmx(self):
assert evt['jolokia']['server']['vendor'] == 'Apache'

# Remove "test" fields because namespace specific fields are not documented
del(evt["jolokia"]["test"])
del (evt["jolokia"]["test"])
self.assert_fields_are_documented(output[0])

0 comments on commit 16f9aee

Please sign in to comment.