(self)
| 48 | self.assertEqual([metric], list(families)) |
| 49 | |
| 50 | def test_simple_gauge(self): |
| 51 | families = text_string_to_metric_families("""# TYPE a gauge |
| 52 | # HELP a help |
| 53 | a 1 |
| 54 | # EOF |
| 55 | """) |
| 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 |
nothing calls this directly
no test coverage detected