(self)
| 56 | self.assertEqual([GaugeMetricFamily("a", "help", value=1)], list(families)) |
| 57 | |
| 58 | def test_float_gauge(self): |
| 59 | families = text_string_to_metric_families("""# TYPE a gauge |
| 60 | # HELP a help |
| 61 | a 1.2 |
| 62 | # EOF |
| 63 | """) |
| 64 | self.assertEqual([GaugeMetricFamily("a", "help", value=1.2)], list(families)) |
| 65 | |
| 66 | def test_leading_zeros_simple_gauge(self): |
| 67 | families = text_string_to_metric_families("""# TYPE a gauge |
nothing calls this directly
no test coverage detected