(
self,
output: str,
metric_name: str,
help_text: str,
increments: int,
)
| 50 | c.inc() |
| 51 | |
| 52 | def assert_metrics( |
| 53 | self, |
| 54 | output: str, |
| 55 | metric_name: str, |
| 56 | help_text: str, |
| 57 | increments: int, |
| 58 | ) -> None: |
| 59 | self.assertIn("# HELP " + metric_name + "_total " + help_text + "\n", output) |
| 60 | self.assertIn("# TYPE " + metric_name + "_total counter\n", output) |
| 61 | self.assertIn(metric_name + "_total " + str(increments) + ".0\n", output) |
| 62 | |
| 63 | def assert_not_metrics( |
| 64 | self, |
no outgoing calls
no test coverage detected