(self, metric_name, help_text, increments)
| 80 | ) |
| 81 | |
| 82 | def increment_metrics(self, metric_name, help_text, increments): |
| 83 | c = Counter(metric_name, help_text, registry=self.registry) |
| 84 | for _ in range(increments): |
| 85 | c.inc() |
| 86 | |
| 87 | def assert_metrics(self, output, metric_name, help_text, increments): |
| 88 | self.assertIn("# HELP " + metric_name + "_total " + help_text + "\n", output) |
no test coverage detected