Skip to content

Commit

Permalink
Update test_windows.py
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkb7 authored Oct 3, 2024
1 parent ca99b03 commit 76fbb0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions network/tests/test_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ def test_get_tcp_stats(aggregator):
check_instance.check({})
for name, value in expected_mets.items():
if name in gauge_mets:
metric_type = aggregator.GAUGE
aggregator.assert_metric(name, value=value, metric_type=metric_type)
aggregator.assert_metric(name, value=value, metric_type=aggregator.GAUGE)
else:
aggregator.assert_metric(name, value=value, metric_type=aggregator.RATE)
aggregator.assert_metric(name + '.count', value=value, metric_type=aggregator.MONOTONIC_COUNT)
Expand Down

0 comments on commit 76fbb0d

Please sign in to comment.