Skip to content

Commit

Permalink
Updating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorhdzg committed Feb 14, 2020
1 parent 3023ff1 commit 37ea8ee
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_invalid_metric(self):

meter = metrics.Meter()
metric = meter.create_metric(
"test@name", "testdesc", "unit", int, TestMetric
"tesname", "testdesc", "unit", int, TestMetric
)
kvp = {"environment": "staging"}
label_set = meter.get_label_set(kvp)
Expand Down Expand Up @@ -154,8 +154,6 @@ def __init__(
meter,
label_keys,
enabled: bool = True,
monotonic: bool = True,
absolute: bool = False,
):
super().__init__(
name,
Expand All @@ -165,6 +163,4 @@ def __init__(
meter,
label_keys=label_keys,
enabled=enabled,
monotonic=monotonic,
absolute=absolute,
)

0 comments on commit 37ea8ee

Please sign in to comment.