Skip to content
Snippets Groups Projects
Commit 776796f5 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fix metrics for tests

parent 68348465
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ class TestMetric(unittest.TestCase): ...@@ -124,7 +124,7 @@ class TestMetric(unittest.TestCase):
self.assertGreaterEqual(next(iter(metric.to_metric_data().values)).value, 1) self.assertGreaterEqual(next(iter(metric.to_metric_data().values)).value, 1)
def test_aggregate_metric_measure_generator(self): def test_aggregate_metric_measure_generator(self):
my_metric = getMetric('my_metric', 'summary', quantiles=0.5) my_metric = getMetric('my_metric', 'summary', quantiles=[0.5])
metric = AggregateMetric(my_metric) metric = AggregateMetric(my_metric)
@metric.measure() @metric.measure()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment